netsurf: branch master updated. release/3.0-205-ga93e32d

NetSurf Browser Project (Commit Mailer) no-reply at netsurf-browser.org
Fri Jun 28 13:20:41 BST 2013


Gitweb links:

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

The branch, master has been updated
       via  a93e32de3767ade3931aaf661a720f53e7a27f90 (commit)
      from  2f280f16eb7e6ed9317f4bdf7aa818c53925fd9b (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=a93e32de3767ade3931aaf661a720f53e7a27f90
commit a93e32de3767ade3931aaf661a720f53e7a27f90
Author: Vincent Sanders <vince at netsurf-browser.org>
Commit: Vincent Sanders <vince at netsurf-browser.org>

    work round missing functionality

diff --git a/gtk/compat.h b/gtk/compat.h
index ff3222c..b8c91d9 100644
--- a/gtk/compat.h
+++ b/gtk/compat.h
@@ -56,6 +56,17 @@ typedef enum {
 #if !GTK_CHECK_VERSION(3,0,0)
 typedef GtkStateType GtkStateFlags;
 typedef GtkStyle GtkStyleContext;
+
+#if GTK_CHECK_VERSION(2,22,0)
+enum {
+	GTK_IN_DESTRUCTION = 1 << 0,
+};
+#define GTK_OBJECT_FLAGS(obj)		  (GTK_OBJECT (obj)->flags)
+#endif
+
+#define gtk_widget_in_destruction(widget) \
+	(GTK_OBJECT_FLAGS(GTK_OBJECT(widget)) & GTK_IN_DESTRUCTION)
+
 #endif
 
 GtkWidget *nsgtk_entry_new(void);


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

Summary of changes:
 gtk/compat.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/gtk/compat.h b/gtk/compat.h
index ff3222c..b8c91d9 100644
--- a/gtk/compat.h
+++ b/gtk/compat.h
@@ -56,6 +56,17 @@ typedef enum {
 #if !GTK_CHECK_VERSION(3,0,0)
 typedef GtkStateType GtkStateFlags;
 typedef GtkStyle GtkStyleContext;
+
+#if GTK_CHECK_VERSION(2,22,0)
+enum {
+	GTK_IN_DESTRUCTION = 1 << 0,
+};
+#define GTK_OBJECT_FLAGS(obj)		  (GTK_OBJECT (obj)->flags)
+#endif
+
+#define gtk_widget_in_destruction(widget) \
+	(GTK_OBJECT_FLAGS(GTK_OBJECT(widget)) & GTK_IN_DESTRUCTION)
+
 #endif
 
 GtkWidget *nsgtk_entry_new(void);


-- 
NetSurf Browser



More information about the netsurf-commits mailing list