Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/cde300133e95a8db0a925879f2c9d940f2bbebdc
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/cde300133e95a8db0a925879f2c9d940f2bbebdc
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/cde300133e95a8db0a925879f2c9d940f2bbebdc

The branch, master has been updated
       via  cde300133e95a8db0a925879f2c9d940f2bbebdc (commit)
       via  5a40e94df627fd913e800f7a86f6d2e5a1f5b870 (commit)
      from  d1a493f5697e5cd29394bbad6d0183fb530a9d29 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=cde300133e95a8db0a925879f2c9d940f2bbebdc
commit cde300133e95a8db0a925879f2c9d940f2bbebdc
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    initialise event struct correctly to avoid compiler warning

diff --git a/content/hlcache.c b/content/hlcache.c
index 38a83ea..249275e 100644
--- a/content/hlcache.c
+++ b/content/hlcache.c
@@ -182,9 +182,11 @@ static void hlcache_content_callback(struct content *c, 
content_msg msg,
                const union content_msg_data *data, void *pw)
 {
        hlcache_handle *handle = pw;
-       hlcache_event event = { 0 };
+       hlcache_event event;
        nserror error = NSERROR_OK;
 
+       memset(&event, 0, sizeof(event));
+
        event.type = msg;
        if (data != NULL) {
                event.data = *data;


commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=5a40e94df627fd913e800f7a86f6d2e5a1f5b870
commit 5a40e94df627fd913e800f7a86f6d2e5a1f5b870
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    remove unecessary textarea include

diff --git a/frontends/gtk/window.c b/frontends/gtk/window.c
index de5311e..d32f457 100644
--- a/frontends/gtk/window.c
+++ b/frontends/gtk/window.c
@@ -42,7 +42,6 @@
 #include "netsurf/plotters.h"
 #include "netsurf/form.h"
 #include "netsurf/keypress.h"
-#include "desktop/textarea.h"
 #include "desktop/searchweb.h"
 #include "desktop/textinput.h"
 
@@ -355,6 +354,7 @@ static gboolean nsgtk_window_button_press_event(GtkWidget 
*widget,
                break;
 
        case 3: /* Right button, usually. Action button, context menu. */
+               /** \todo determine if hiding the caret here is necessary */
                browser_window_remove_caret(g->bw, true);
                nsgtk_scaffolding_context_menu(g->scaffold,
                                               g->mouse.pressed_x,


-----------------------------------------------------------------------

Summary of changes:
 content/hlcache.c      |    4 +++-
 frontends/gtk/window.c |    2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/content/hlcache.c b/content/hlcache.c
index 38a83ea..249275e 100644
--- a/content/hlcache.c
+++ b/content/hlcache.c
@@ -182,9 +182,11 @@ static void hlcache_content_callback(struct content *c, 
content_msg msg,
                const union content_msg_data *data, void *pw)
 {
        hlcache_handle *handle = pw;
-       hlcache_event event = { 0 };
+       hlcache_event event;
        nserror error = NSERROR_OK;
 
+       memset(&event, 0, sizeof(event));
+
        event.type = msg;
        if (data != NULL) {
                event.data = *data;
diff --git a/frontends/gtk/window.c b/frontends/gtk/window.c
index de5311e..d32f457 100644
--- a/frontends/gtk/window.c
+++ b/frontends/gtk/window.c
@@ -42,7 +42,6 @@
 #include "netsurf/plotters.h"
 #include "netsurf/form.h"
 #include "netsurf/keypress.h"
-#include "desktop/textarea.h"
 #include "desktop/searchweb.h"
 #include "desktop/textinput.h"
 
@@ -355,6 +354,7 @@ static gboolean nsgtk_window_button_press_event(GtkWidget 
*widget,
                break;
 
        case 3: /* Right button, usually. Action button, context menu. */
+               /** \todo determine if hiding the caret here is necessary */
                browser_window_remove_caret(g->bw, true);
                nsgtk_scaffolding_context_menu(g->scaffold,
                                               g->mouse.pressed_x,


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to