summaryrefslogtreecommitdiff
path: root/gsearchtool
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-07-01 15:40:16 +0200
committerinfirit <[email protected]>2014-07-01 15:40:16 +0200
commit7c5d72d9521592042ead78d877eaa079018ac5c9 (patch)
treed7d2fe95d5b83271dbeef3284a0f2f1923c5f702 /gsearchtool
parent175a8fab48e5658ac79ad66f1e82adf112315617 (diff)
downloadmate-utils-7c5d72d9521592042ead78d877eaa079018ac5c9.tar.bz2
mate-utils-7c5d72d9521592042ead78d877eaa079018ac5c9.tar.xz
Replace deprecated GTK_WIDGET_SET_FLAGS
Diffstat (limited to 'gsearchtool')
-rw-r--r--gsearchtool/gsearchtool-callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsearchtool/gsearchtool-callbacks.c b/gsearchtool/gsearchtool-callbacks.c
index 464b6d5c..7b2edc5f 100644
--- a/gsearchtool/gsearchtool-callbacks.c
+++ b/gsearchtool/gsearchtool-callbacks.c
@@ -1723,7 +1723,7 @@ display_dialog_could_not_save_exists (GtkWidget * window,
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), 14);
button = gsearchtool_button_new_with_stock_icon (_("_Replace"), GTK_STOCK_OK);
- GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
+ gtk_widget_set_can_default (button, TRUE);
gtk_widget_show (button);
gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, GTK_RESPONSE_OK);