changeset 2431:1f5389d824df

Fix compile warnings Fix compile warnings introduced in commit 2afb371
author Colin Clark <cclark@mcb.net>
date Wed, 11 Jan 2017 13:21:10 +0000
parents 843cff075959
children 57fd6df5c0db 40e75fe44eac
files src/dupe.c src/preferences.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/dupe.c	Wed Jan 11 10:48:30 2017 +0000
+++ b/src/dupe.c	Wed Jan 11 13:21:10 2017 +0000
@@ -2886,7 +2886,7 @@
 {
 	DupeWindow *dw = data;
 	DupeMatchType match_type;
-	GtkListStore *store;
+	GtkTreeModel *store;
 	gboolean valid;
 	GtkTreeIter iter;
 
--- a/src/preferences.c	Wed Jan 11 10:48:30 2017 +0000
+++ b/src/preferences.c	Wed Jan 11 13:21:10 2017 +0000
@@ -408,7 +408,7 @@
 
 static void config_window_help_cb(GtkWidget *widget, gpointer data)
 {
-	GtkWidget *notebook = GTK_NOTEBOOK(data);
+	GtkWidget *notebook = data;
 	gint i;
 
 	static gchar *html_section[] =
@@ -424,7 +424,7 @@
 	"GuideOptionsBehavior.html"
 	};
 
-	i = gtk_notebook_get_current_page(notebook);
+	i = gtk_notebook_get_current_page(GTK_NOTEBOOK(notebook));
 	help_window_show(html_section[i]);
 }