diff options
author | kwm <kwm@FreeBSD.org> | 2010-11-23 02:26:06 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2010-11-23 02:26:06 +0800 |
commit | ae844151523dd66279e9d9f31406663f06c448dd (patch) | |
tree | e19528249933476508eac82bc1ef0606f7a4197a | |
parent | 0fbee2e8cbce046f49b1afda22a1ae7041223ce2 (diff) | |
download | freebsd-ports-gnome-ae844151523dd66279e9d9f31406663f06c448dd.tar.gz freebsd-ports-gnome-ae844151523dd66279e9d9f31406663f06c448dd.tar.zst freebsd-ports-gnome-ae844151523dd66279e9d9f31406663f06c448dd.zip |
Fix another depricated gtk+ symbol. This will allow libgnomesu to build again.
Submitted by: pointyhat via pav
-rw-r--r-- | security/libgnomesu/files/patch-src_gnomesu-auth-dialog.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/libgnomesu/files/patch-src_gnomesu-auth-dialog.c b/security/libgnomesu/files/patch-src_gnomesu-auth-dialog.c new file mode 100644 index 000000000000..a061b2bdb55f --- /dev/null +++ b/security/libgnomesu/files/patch-src_gnomesu-auth-dialog.c @@ -0,0 +1,11 @@ +--- src/gnomesu-auth-dialog.c.orig 2005-05-17 17:23:20.000000000 +0200 ++++ src/gnomesu-auth-dialog.c 2010-11-22 19:23:27.000000000 +0100 +@@ -212,7 +212,7 @@ + gtk_dialog_add_action_widget (dialog, button, GTK_RESPONSE_CANCEL); + + button = create_stock_button (GTK_STOCK_OK, _("C_ontinue")); +- GTK_WIDGET_SET_FLAGS (button, GTK_HAS_DEFAULT | GTK_CAN_DEFAULT); ++ gtk_widget_set_can_default(button, TRUE); + gtk_widget_show (button); + gtk_dialog_add_action_widget (dialog, button, GTK_RESPONSE_OK); + gtk_widget_grab_default (button); |