diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-04-26 11:54:02 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-04-26 15:03:48 -0400 |
commit | 31ff1204a43de5acb617c4982e65421fba06f3c8 (patch) | |
tree | 7322c221483e9a99786d2bd466a8cc65a0759a8c /gtk/gtkdialog.c | |
parent | cd8b19dcb0403279f372240f41848136fa0b9945 (diff) | |
download | gtk+-31ff1204a43de5acb617c4982e65421fba06f3c8.tar.gz |
GtkDialog: Fix up docs
The ui fragment in the example was causing a critical
warning, which is not nice. Fix it to work properly.
Diffstat (limited to 'gtk/gtkdialog.c')
-rw-r--r-- | gtk/gtkdialog.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c index b02c6048c1..21e9004944 100644 --- a/gtk/gtkdialog.c +++ b/gtk/gtkdialog.c @@ -160,7 +160,9 @@ * <object class="GtkButton" id="button_cancel"/> * </child> * <child type="action"> - * <object class="GtkButton" id="button_ok"/> + * <object class="GtkButton" id="button_ok"> + * <property name="can-default">True</property> + * </object> * </child> * <action-widgets> * <action-widget response="cancel">button_cancel</action-widget> |