From f553591e0562fd7b4bba0fe6a6182bc0b3747a34 Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 31 Jan 2018 09:45:03 +0300 Subject: panel-run-dialog: fix build warning about incompatible type introduced in 7f99492c269f541c81e4f36742ecc3f0b4ebac04 --- mate-panel/panel-run-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mate-panel') 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); -- cgit v1.2.1