diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2014-02-07 10:25:00 -0500 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2014-02-07 10:28:52 -0500 |
commit | de4237612240d2746ceae23d327d722d8c5077c9 (patch) | |
tree | 7e7ed68faba344d12c5722dd605580a02e9a6939 /gtk/gtkdialog.c | |
parent | 648511ed4416d136fe9aff930afeec6eacfebc1d (diff) | |
download | gtk+-de4237612240d2746ceae23d327d722d8c5077c9.tar.gz |
Add GTK_STYLE_CLASS_SUGGESTED_ACTION
Diffstat (limited to 'gtk/gtkdialog.c')
-rw-r--r-- | gtk/gtkdialog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c index 652be99304..cf09b250f3 100644 --- a/gtk/gtkdialog.c +++ b/gtk/gtkdialog.c @@ -425,7 +425,7 @@ add_action_widgets (GtkDialog *dialog) if (has_default) { gtk_widget_grab_default (child); - gtk_style_context_add_class (gtk_widget_get_style_context (child), "suggested-action"); + gtk_style_context_add_class (gtk_widget_get_style_context (child), GTK_STYLE_CLASS_SUGGESTED_ACTION); } } g_list_free (children); @@ -1105,7 +1105,7 @@ gtk_dialog_set_default_response (GtkDialog *dialog, { gtk_widget_grab_default (widget); if (dialog->priv->constructed && dialog->priv->use_header_bar == 1) - gtk_style_context_add_class (gtk_widget_get_style_context (widget), "suggested-action"); + gtk_style_context_add_class (gtk_widget_get_style_context (widget), GTK_STYLE_CLASS_SUGGESTED_ACTION); } tmp_list = g_list_next (tmp_list); |