summaryrefslogtreecommitdiff
path: root/gsearchtool/src
diff options
context:
space:
mode:
Diffstat (limited to 'gsearchtool/src')
-rw-r--r--gsearchtool/src/gsearchtool-callbacks.c2
-rw-r--r--gsearchtool/src/gsearchtool.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/gsearchtool/src/gsearchtool-callbacks.c b/gsearchtool/src/gsearchtool-callbacks.c
index b43429bb..caca5dff 100644
--- a/gsearchtool/src/gsearchtool-callbacks.c
+++ b/gsearchtool/src/gsearchtool-callbacks.c
@@ -221,7 +221,7 @@ click_expander_cb (GObject * object,
GDK_HINT_MIN_SIZE);
}
else {
- GdkGeometry default_geometry = {MINIMUM_WINDOW_WIDTH, MINIMUM_WINDOW_HEIGHT};
+ GdkGeometry default_geometry = { MINIMUM_WINDOW_WIDTH, MINIMUM_WINDOW_HEIGHT, 0, 0, 0, 0, 0, 0, 0.0, 0.0, 0 };
gtk_widget_hide (gsearch->available_options_vbox);
gtk_window_set_geometry_hints (GTK_WINDOW (gsearch->window),
diff --git a/gsearchtool/src/gsearchtool.c b/gsearchtool/src/gsearchtool.c
index 3d6a3669..ae637dc5 100644
--- a/gsearchtool/src/gsearchtool.c
+++ b/gsearchtool/src/gsearchtool.c
@@ -175,7 +175,7 @@ static GOptionEntry GSearchGOptionEntries[] = {
{ "hidden", 0, 0, G_OPTION_ARG_NONE, &GSearchGOptionArguments.hidden, NULL, NULL },
{ "follow", 0, 0, G_OPTION_ARG_NONE, &GSearchGOptionArguments.follow, NULL, NULL },
{ "mounts", 0, 0, G_OPTION_ARG_NONE, &GSearchGOptionArguments.mounts, NULL, NULL },
- { NULL }
+ { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL }
};
static gchar * find_command_default_name_argument;
@@ -3006,7 +3006,8 @@ gsearch_window_get_type (void)
NULL,
sizeof (GSearchWindow),
0,
- (GInstanceInitFunc)(void (*)(void)) gsearch_app_create
+ (GInstanceInitFunc)(void (*)(void)) gsearch_app_create,
+ NULL
};
object_type = g_type_register_static (GTK_TYPE_WINDOW, "GSearchWindow", &object_info, 0);
}