summaryrefslogtreecommitdiff
path: root/mate-screenshot/mate-screenshot.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-04-30 23:25:08 +0200
committerStefano Karapetsas <[email protected]>2014-04-30 23:25:08 +0200
commitdca996e31089ce5b5d8acbe8a2fb735aaf18542f (patch)
tree5c6236d18b60eacdbe9658c87ec647b41f3510db /mate-screenshot/mate-screenshot.c
parent36c964e0a6d1deaee624cd2a6a76ff5c73141865 (diff)
downloadmate-utils-dca996e31089ce5b5d8acbe8a2fb735aaf18542f.tar.bz2
mate-utils-dca996e31089ce5b5d8acbe8a2fb735aaf18542f.tar.xz
mate-screenshot: Add GTK3 support
Diffstat (limited to 'mate-screenshot/mate-screenshot.c')
-rw-r--r--mate-screenshot/mate-screenshot.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mate-screenshot/mate-screenshot.c b/mate-screenshot/mate-screenshot.c
index cad2c2bd..dcd325e4 100644
--- a/mate-screenshot/mate-screenshot.c
+++ b/mate-screenshot/mate-screenshot.c
@@ -221,7 +221,7 @@ effect_combo_changed_cb (GtkComboBox *combo,
static gint
key_press_cb (GtkWidget* widget, GdkEventKey* event, gpointer data)
{
- if (event->keyval == GDK_F1)
+ if (event->keyval == GDK_KEY_F1)
{
display_help (GTK_WINDOW (widget));
return TRUE;
@@ -524,7 +524,6 @@ create_interactive_dialog (void)
create_screenshot_frame (main_vbox, _("Take Screenshot"));
create_effects_frame (main_vbox, _("Effects"));
- gtk_dialog_set_has_separator (GTK_DIALOG (retval), FALSE);
gtk_dialog_add_buttons (GTK_DIALOG (retval),
GTK_STOCK_HELP, GTK_RESPONSE_HELP,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,