summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-31 09:45:03 +0300
committermonsta <[email protected]>2018-01-31 09:45:03 +0300
commitf553591e0562fd7b4bba0fe6a6182bc0b3747a34 (patch)
tree821a5c2ddda2e7ff6f0bd4d5f9a152c91a3d118b
parented089f5ae005664d17a967e29310bdfc3df1c163 (diff)
downloadmate-panel-f553591e0562fd7b4bba0fe6a6182bc0b3747a34.tar.bz2
mate-panel-f553591e0562fd7b4bba0fe6a6182bc0b3747a34.tar.xz
panel-run-dialog: fix build warning about incompatible type
introduced in 7f99492c269f541c81e4f36742ecc3f0b4ebac04
-rw-r--r--mate-panel/panel-run-dialog.c2
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);