[giggle] Do not use deprecated GtkNotebookPage symbol
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [giggle] Do not use deprecated GtkNotebookPage symbol
- Date: Mon, 18 Oct 2010 23:55:08 +0000 (UTC)
commit eefa185bcea0dfd6b747102015aeddf0e145e1ae
Author: Javier Jardón <jjardon gnome org>
Date: Tue Oct 19 01:42:38 2010 +0200
Do not use deprecated GtkNotebookPage symbol
libgiggle/giggle-view-shell.c | 6 +++++-
src/giggle-window.c | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/libgiggle/giggle-view-shell.c b/libgiggle/giggle-view-shell.c
index e773e43..7510cbb 100644
--- a/libgiggle/giggle-view-shell.c
+++ b/libgiggle/giggle-view-shell.c
@@ -230,7 +230,11 @@ view_shell_set_property (GObject *object,
static void
view_shell_switch_page (GtkNotebook *notebook,
- GtkNotebookPage *page,
+#if GTK_CHECK_VERSION (2,90,0)
+ GtkWidget *page,
+#else
+ gpointer page,
+#endif
guint page_num)
{
GiggleViewShellPriv *priv;
diff --git a/src/giggle-window.c b/src/giggle-window.c
index 39ec61a..263dba7 100644
--- a/src/giggle-window.c
+++ b/src/giggle-window.c
@@ -1539,7 +1539,11 @@ window_update_search_ui (GiggleWindow *window)
static void
window_view_shell_switch_page_cb (GtkNotebook *notebook,
- GtkNotebookPage *page,
+#if GTK_CHECK_VERSION (2,90,0)
+ GtkWidget *page,
+#else
+ gpointer page,
+#endif
guint page_num,
GiggleWindow *window)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]