Use define instead of string constant.

svn path=/trunk/; revision=43824
This commit is contained in:
Jakub Zawadzki 2012-07-19 12:49:42 +00:00
parent 3c80b32e54
commit 58d106382a
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ bytes_view_realize(GtkWidget *widget)
#if GTK_CHECK_VERSION(3, 0, 0)
context = gtk_widget_get_style_context(widget);
/* gtk_style_context_add_class(context, GTK_STYLE_CLASS_VIEW); */
gtk_style_context_add_class(context, "entry");
gtk_style_context_add_class(context, GTK_STYLE_CLASS_ENTRY);
#elif GTK_CHECK_VERSION(2, 20, 0)
gtk_widget_style_attach(widget);