aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtkmm30
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2007-01-14 20:20:54 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2007-01-14 20:20:54 +0000
commit0eb614fd65fb31852b486abb1251872abf3d45f2 (patch)
treea70409930d3627c906b7323973f4eb8c265950f8 /x11-toolkits/gtkmm30
parent9588baf82d48b660f982f6d1f24e9452290d4a11 (diff)
downloadports-0eb614fd65fb31852b486abb1251872abf3d45f2.tar.gz
ports-0eb614fd65fb31852b486abb1251872abf3d45f2.zip
Notes
Diffstat (limited to 'x11-toolkits/gtkmm30')
-rw-r--r--x11-toolkits/gtkmm30/files/patch-gtk_gtkmm_notebook.cc21
-rw-r--r--x11-toolkits/gtkmm30/files/patch-gtk_gtkmm_private_notebook_p.h11
-rw-r--r--x11-toolkits/gtkmm30/files/patch-gtk_gtkmm_private_scrolledwindow_p.h11
-rw-r--r--x11-toolkits/gtkmm30/files/patch-gtk_gtkmm_scrolledwindow.cc21
4 files changed, 64 insertions, 0 deletions
diff --git a/x11-toolkits/gtkmm30/files/patch-gtk_gtkmm_notebook.cc b/x11-toolkits/gtkmm30/files/patch-gtk_gtkmm_notebook.cc
new file mode 100644
index 000000000000..9151d5a8db32
--- /dev/null
+++ b/x11-toolkits/gtkmm30/files/patch-gtk_gtkmm_notebook.cc
@@ -0,0 +1,21 @@
+--- gtk/gtkmm/notebook.cc.orig Sun Jan 14 15:16:24 2007
++++ gtk/gtkmm/notebook.cc Sun Jan 14 15:16:33 2007
+@@ -796,7 +796,7 @@ gboolean Notebook_Class::focus_tab_callb
+ return RType();
+ }
+
+-void Notebook_Class::change_current_page_callback(GtkNotebook* self, gint p0)
++gboolean Notebook_Class::change_current_page_callback(GtkNotebook* self, gint p0)
+ {
+ CppObjectType *const obj = dynamic_cast<CppObjectType*>(
+ Glib::ObjectBase::_get_current_wrapper((GObject*)self));
+@@ -829,6 +829,9 @@ void Notebook_Class::change_current_page
+ if(base && base->change_current_page)
+ (*base->change_current_page)(self, p0);
+ }
++
++ typedef gboolean RType;
++ return RType();
+ }
+
+ void Notebook_Class::move_focus_out_callback(GtkNotebook* self, GtkDirectionType p0)
diff --git a/x11-toolkits/gtkmm30/files/patch-gtk_gtkmm_private_notebook_p.h b/x11-toolkits/gtkmm30/files/patch-gtk_gtkmm_private_notebook_p.h
new file mode 100644
index 000000000000..6d2e7497ca62
--- /dev/null
+++ b/x11-toolkits/gtkmm30/files/patch-gtk_gtkmm_private_notebook_p.h
@@ -0,0 +1,11 @@
+--- gtk/gtkmm/private/notebook_p.h.orig Sun Jan 14 15:17:36 2007
++++ gtk/gtkmm/private/notebook_p.h Sun Jan 14 15:17:46 2007
+@@ -36,7 +36,7 @@ protected:
+ static void switch_page_callback(GtkNotebook* self, GtkNotebookPage* p0, guint p1);
+ static gboolean select_page_callback(GtkNotebook* self, gboolean p0);
+ static gboolean focus_tab_callback(GtkNotebook* self, GtkNotebookTab p0);
+- static void change_current_page_callback(GtkNotebook* self, gint p0);
++ static gboolean change_current_page_callback(GtkNotebook* self, gint p0);
+ static void move_focus_out_callback(GtkNotebook* self, GtkDirectionType p0);
+
+ //Callbacks (virtual functions):
diff --git a/x11-toolkits/gtkmm30/files/patch-gtk_gtkmm_private_scrolledwindow_p.h b/x11-toolkits/gtkmm30/files/patch-gtk_gtkmm_private_scrolledwindow_p.h
new file mode 100644
index 000000000000..14c27eb2a945
--- /dev/null
+++ b/x11-toolkits/gtkmm30/files/patch-gtk_gtkmm_private_scrolledwindow_p.h
@@ -0,0 +1,11 @@
+--- gtk/gtkmm/private/scrolledwindow_p.h.orig Sun Jan 14 15:17:41 2007
++++ gtk/gtkmm/private/scrolledwindow_p.h Sun Jan 14 15:17:46 2007
+@@ -33,7 +33,7 @@ protected:
+ //Callbacks (default signal handlers):
+ //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any.
+ //You could prevent the original default signal handlers being called by overriding the *_impl method.
+- static void scroll_child_callback(GtkScrolledWindow* self, GtkScrollType p0, gboolean p1);
++ static gboolean scroll_child_callback(GtkScrolledWindow* self, GtkScrollType p0, gboolean p1);
+ static void move_focus_out_callback(GtkScrolledWindow* self, GtkDirectionType p0);
+
+ //Callbacks (virtual functions):
diff --git a/x11-toolkits/gtkmm30/files/patch-gtk_gtkmm_scrolledwindow.cc b/x11-toolkits/gtkmm30/files/patch-gtk_gtkmm_scrolledwindow.cc
new file mode 100644
index 000000000000..0edd24accf83
--- /dev/null
+++ b/x11-toolkits/gtkmm30/files/patch-gtk_gtkmm_scrolledwindow.cc
@@ -0,0 +1,21 @@
+--- gtk/gtkmm/scrolledwindow.cc.orig Sun Jan 14 15:16:30 2007
++++ gtk/gtkmm/scrolledwindow.cc Sun Jan 14 15:16:33 2007
+@@ -166,7 +166,7 @@ void ScrolledWindow_Class::class_init_fu
+ }
+
+
+-void ScrolledWindow_Class::scroll_child_callback(GtkScrolledWindow* self, GtkScrollType p0, gboolean p1)
++gboolean ScrolledWindow_Class::scroll_child_callback(GtkScrolledWindow* self, GtkScrollType p0, gboolean p1)
+ {
+ CppObjectType *const obj = dynamic_cast<CppObjectType*>(
+ Glib::ObjectBase::_get_current_wrapper((GObject*)self));
+@@ -200,6 +200,9 @@ void ScrolledWindow_Class::scroll_child_
+ if(base && base->scroll_child)
+ (*base->scroll_child)(self, p0, p1);
+ }
++
++ typedef gboolean RType;
++ return RType();
+ }
+
+ void ScrolledWindow_Class::move_focus_out_callback(GtkScrolledWindow* self, GtkDirectionType p0)