Gitweb links:

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

The branch, master has been updated
       via  487309a1e673c406f97cdd3cfd64b77f7d2e5582 (commit)
      from  4765c68a15545a2c5465781f2957d771e5c7eb77 (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=487309a1e673c406f97cdd3cfd64b77f7d2e5582
commit 487309a1e673c406f97cdd3cfd64b77f7d2e5582
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    fixup usage of gvalue init macro

diff --git a/frontends/gtk/compat.h b/frontends/gtk/compat.h
index d822e2d..2276229 100644
--- a/frontends/gtk/compat.h
+++ b/frontends/gtk/compat.h
@@ -80,6 +80,12 @@ typedef enum  {
 } GtkAlign;
 #endif
 
+/* value init since gtk 2.30 */
+#ifndef G_VALUE_INIT
+#define G_VALUE_INIT  { 0, { { 0 } } }
+#endif
+
+
 /**
  * Set the alignment of a widget.
  *
diff --git a/frontends/gtk/completion.c b/frontends/gtk/completion.c
index eea0a78..3da3410 100644
--- a/frontends/gtk/completion.c
+++ b/frontends/gtk/completion.c
@@ -21,8 +21,6 @@
  * Implementation of url entry completion.
  */
 
-#include <gtk/gtk.h>
-
 #include "utils/log.h"
 #include "utils/messages.h"
 #include "utils/nsoption.h"
@@ -31,6 +29,7 @@
 #include "netsurf/browser_window.h"
 #include "desktop/searchweb.h"
 
+#include "gtk/compat.h"
 #include "gtk/warn.h"
 #include "gtk/scaffolding.h"
 #include "gtk/window.h"
@@ -80,7 +79,7 @@ nsgtk_completion_match_select(GtkEntryCompletion *widget,
                              GtkTreeIter *iter,
                              gpointer user_data)
 {
-       GValue value = {0, };
+       GValue value = G_VALUE_INIT;
        struct nsgtk_scaffolding *g = user_data;
        struct browser_window *bw = 
nsgtk_get_browser_window(nsgtk_scaffolding_top_level(g));
        nserror ret;


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

Summary of changes:
 frontends/gtk/compat.h     |    6 ++++++
 frontends/gtk/completion.c |    5 ++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/frontends/gtk/compat.h b/frontends/gtk/compat.h
index d822e2d..2276229 100644
--- a/frontends/gtk/compat.h
+++ b/frontends/gtk/compat.h
@@ -80,6 +80,12 @@ typedef enum  {
 } GtkAlign;
 #endif
 
+/* value init since gtk 2.30 */
+#ifndef G_VALUE_INIT
+#define G_VALUE_INIT  { 0, { { 0 } } }
+#endif
+
+
 /**
  * Set the alignment of a widget.
  *
diff --git a/frontends/gtk/completion.c b/frontends/gtk/completion.c
index eea0a78..3da3410 100644
--- a/frontends/gtk/completion.c
+++ b/frontends/gtk/completion.c
@@ -21,8 +21,6 @@
  * Implementation of url entry completion.
  */
 
-#include <gtk/gtk.h>
-
 #include "utils/log.h"
 #include "utils/messages.h"
 #include "utils/nsoption.h"
@@ -31,6 +29,7 @@
 #include "netsurf/browser_window.h"
 #include "desktop/searchweb.h"
 
+#include "gtk/compat.h"
 #include "gtk/warn.h"
 #include "gtk/scaffolding.h"
 #include "gtk/window.h"
@@ -80,7 +79,7 @@ nsgtk_completion_match_select(GtkEntryCompletion *widget,
                              GtkTreeIter *iter,
                              gpointer user_data)
 {
-       GValue value = {0, };
+       GValue value = G_VALUE_INIT;
        struct nsgtk_scaffolding *g = user_data;
        struct browser_window *bw = 
nsgtk_get_browser_window(nsgtk_scaffolding_top_level(g));
        nserror ret;


-- 
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