[eog] Adapt to recent GTK+-3 API changes in GtkNotebook



commit 18ae8aafc996693998cd093ce71ed9ccccd1b884
Author: Felix Riemann <friemann gnome org>
Date:   Wed Jul 21 22:24:26 2010 +0200

    Adapt to recent GTK+-3 API changes in GtkNotebook
    
    Once version 2.90.6 is out the GTK_CHECK_VERSION switch can go out
    and eog instead depend on that version in configure.

 src/eog-properties-dialog.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/eog-properties-dialog.c b/src/eog-properties-dialog.c
index b1469c6..096d9f4 100644
--- a/src/eog-properties-dialog.c
+++ b/src/eog-properties-dialog.c
@@ -491,7 +491,11 @@ pd_close_button_clicked_cb (GtkButton *button,
 
 static gboolean
 eog_properties_dialog_page_switch (GtkNotebook     *notebook,
+#if GTK_CHECK_VERSION (2, 90, 6)
+				   GtkWidget       *page,
+#else
 				   GtkNotebookPage *page,
+#endif
 				   gint             page_index,
 				   EogPropertiesDialog *prop_dlg)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]