Pass PrefsWindow pointer instead of GtkWindow to prefswindow's open and close callbacks.
[claws.git] / src / prefs_folder_item.c
index 14309f8a609043efe5c1737b3b49d7f7310089e5..37be0a2f7b95f6c154c3e51b47675410691f496a 100644 (file)
@@ -1859,14 +1859,14 @@ static void register_templates_page(void)
 
 static GSList *prefs_pages = NULL;
 
-static void prefs_folder_item_address_completion_start(GtkWindow * window)
+static void prefs_folder_item_address_completion_start(PrefsWindow *window)
 {
-       address_completion_start(GTK_WIDGET(window));
+       address_completion_start(window->window);
 }
 
-static void prefs_folder_item_address_completion_end(GtkWindow * window)
+static void prefs_folder_item_address_completion_end(PrefsWindow *window)
 {
-       address_completion_end(GTK_WIDGET(window));
+       address_completion_end(window->window);
 }
 
 void prefs_folder_item_open(FolderItem *item)