diff options
Diffstat (limited to 'mate-panel/panel-run-dialog.c')
-rw-r--r-- | mate-panel/panel-run-dialog.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mate-panel/panel-run-dialog.c b/mate-panel/panel-run-dialog.c index 71dac005..77e17a4f 100644 --- a/mate-panel/panel-run-dialog.c +++ b/mate-panel/panel-run-dialog.c @@ -1742,7 +1742,6 @@ static void panel_run_dialog_setup_entry (PanelRunDialog *dialog, GtkBuilder *gui) { - GdkScreen *screen; int width_request; GtkWidget *entry; @@ -1756,10 +1755,8 @@ panel_run_dialog_setup_entry (PanelRunDialog *dialog, gtk_combo_box_set_entry_text_column (GTK_COMBO_BOX (dialog->combobox), 0); - screen = gtk_window_get_screen (GTK_WINDOW (dialog->run_dialog)); - /* 1/4 the width of the first monitor should be a good value */ - width_request = panel_multiscreen_width (screen, 0) / 4; + width_request = panel_multimonitor_width (0) / 4; g_object_set (G_OBJECT (dialog->combobox), "width_request", width_request, NULL); |