aboutsummaryrefslogtreecommitdiffstats
path: root/embed/find-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/find-dialog.c')
-rwxr-xr-xembed/find-dialog.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/embed/find-dialog.c b/embed/find-dialog.c
index 9951d548d..41309c482 100755
--- a/embed/find-dialog.c
+++ b/embed/find-dialog.c
@@ -258,10 +258,11 @@ dialog_constrain_height (FindDialog *dialog)
{
GdkGeometry geometry;
GtkWindow *window = GTK_WINDOW (dialog->priv->window);
-
+
/* Do not allow to resize the widget vertically */
- geometry.max_height = 0;
- geometry.max_width = gdk_screen_get_width (gtk_widget_get_screen (window));;
+ geometry.max_height = 0;
+ geometry.max_width = gdk_screen_get_width
+ (gtk_widget_get_screen (GTK_WIDGET (window)));
gtk_window_set_geometry_hints (window, GTK_WIDGET (window),
&geometry,
GDK_HINT_MAX_SIZE);