Skip to content

Instantly share code, notes, and snippets.

diff --git a/clib/luakit.c b/clib/luakit.c
index 6fb72c3..76a21d0 100644
--- a/clib/luakit.c
+++ b/clib/luakit.c
@@ -208,12 +208,21 @@ luaH_luakit_save_file(lua_State *L)
const gchar *default_folder = luaL_checkstring(L, 3);
const gchar *default_name = luaL_checkstring(L, 4);
+#if GTK_CHECK_VERSION(3,10,0)
+ GtkWidget *dialog = gtk_file_chooser_dialog_new(title,