diff options
author | monsta <[email protected]> | 2017-05-16 17:19:21 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-05-16 17:19:21 +0300 |
commit | 6f83da9ef9d63bda0e6e7a2a47b2deabce5da33e (patch) | |
tree | 1ef2b2f7edd011d6b8bcff2a8ec597b3bcd089fb /capplets/keybindings/mate-keybinding-properties.c | |
parent | a95dc160979034004a58365bf1b51115555b0e16 (diff) | |
download | mate-control-center-6f83da9ef9d63bda0e6e7a2a47b2deabce5da33e.tar.bz2 mate-control-center-6f83da9ef9d63bda0e6e7a2a47b2deabce5da33e.tar.xz |
keybindings: fix a couple of build warnings
Diffstat (limited to 'capplets/keybindings/mate-keybinding-properties.c')
-rw-r--r-- | capplets/keybindings/mate-keybinding-properties.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/capplets/keybindings/mate-keybinding-properties.c b/capplets/keybindings/mate-keybinding-properties.c index 78900537..b9f59e14 100644 --- a/capplets/keybindings/mate-keybinding-properties.c +++ b/capplets/keybindings/mate-keybinding-properties.c @@ -1837,12 +1837,12 @@ cb_app_dialog_response (GtkWidget *dialog, gint response_id, gpointer data) info = gtk_app_chooser_get_app_info (GTK_APP_CHOOSER (dialog)); - gtk_entry_set_text (custom_shortcut_command_entry, + gtk_entry_set_text (GTK_ENTRY (custom_shortcut_command_entry), g_app_info_get_executable (info)); /* if name isn't set yet, use the associated one */ custom_name = gtk_entry_get_text (GTK_ENTRY (custom_shortcut_name_entry)); if (! custom_name || custom_name[0] == '\0') - gtk_entry_set_text (custom_shortcut_name_entry, + gtk_entry_set_text (GTK_ENTRY (custom_shortcut_name_entry), g_app_info_get_display_name (info)); g_object_unref (info); |