diff options
-rw-r--r-- | mate-panel/panel-run-dialog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/panel-run-dialog.c b/mate-panel/panel-run-dialog.c index 82f8f70f..b906e4f3 100644 --- a/mate-panel/panel-run-dialog.c +++ b/mate-panel/panel-run-dialog.c @@ -1708,7 +1708,7 @@ panel_run_dialog_setup_entry (PanelRunDialog *dialog, (GTK_COMBO_BOX (dialog->combobox), 0); screen = gtk_window_get_screen (GTK_WINDOW (dialog->run_dialog)); - scale = gtk_widget_get_scale_factor (GTK_WINDOW (dialog->run_dialog)); + scale = gtk_widget_get_scale_factor (GTK_WIDGET (dialog->run_dialog)); /* 1/4 the width of the first monitor should be a good value */ width_request = panel_multiscreen_width (screen, 0) / (4 * scale); |