]> Pileus Git - aweather/commitdiff
Get rid of GtkNotebookPage references
authorAndy Spencer <andy753421@gmail.com>
Mon, 21 Jan 2013 05:01:56 +0000 (05:01 +0000)
committerAndy Spencer <andy753421@gmail.com>
Mon, 21 Jan 2013 05:01:56 +0000 (05:01 +0000)
We convert these to gpointer and don't use them because the API is
different between GTK 2 and GTK 3.

src/plugins/alert.c
src/plugins/radar.c

index e82821932b85049987e165d82879c35d66144239..73ad75b84776d292d11b612455d06d8aba3fda9e 100644 (file)
@@ -848,7 +848,7 @@ static gboolean _clear_details(GtkWidget *dialog)
        return TRUE;
 }
 
-static gboolean _set_details_uri(GtkWidget *notebook, GtkNotebookPage *_,
+static gboolean _set_details_uri(GtkWidget *notebook, gpointer _,
                guint num, GtkWidget *button)
 {
        g_debug("_set_details_uri");
index 0d78acbd542849ba359b3bbbd041e51b2280aedb..1edf4259380fe8f45a698f748a16137a9631f3e1 100644 (file)
@@ -680,7 +680,7 @@ out:
 }
 
 static void _update_hidden(GtkNotebook *notebook,
-               GtkNotebookPage *page, guint page_num, gpointer viewer)
+               gpointer _, guint page_num, gpointer viewer)
 {
        g_debug("GritsPluginRadar: _update_hidden - 0..%d = %d",
                        gtk_notebook_get_n_pages(notebook), page_num);