Fix an error with some conditional win32 code

Tue, 17 Oct 2023 01:00:01 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Tue, 17 Oct 2023 01:00:01 -0500
changeset 42360
f08d93308aa4
parent 42359
73b81fa21ce6
child 42361
59f54c17c61f

Fix an error with some conditional win32 code

Testing Done:
Compiled and ran on windows.

Reviewed at https://reviews.imfreedom.org/r/2658/

pidgin/gtkrequest.c file | annotate | diff | comparison | revisions
--- a/pidgin/gtkrequest.c	Mon Oct 16 22:26:58 2023 -0500
+++ b/pidgin/gtkrequest.c	Tue Oct 17 01:00:01 2023 -0500
@@ -2139,7 +2139,7 @@
 	   !purple_strempty(current_folder))
 	{
 		GFile *file = g_file_new_for_path(current_folder);
-		gtk_file_dialog_set_initial_folder(dialog, file, NULL);
+		gtk_file_dialog_set_initial_folder(dialog, file);
 		folder_set = TRUE;
 		g_clear_object(&file);
 	}

mercurial