summaryrefslogtreecommitdiff
path: root/ui/gtk/color_dlg.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2012-07-20 11:10:29 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2012-07-20 11:10:29 +0000
commit98c23905155e0a372ac204af96754810e38085ad (patch)
tree4444624c24f4c4ac1cdebf26821514b9e6a7557f /ui/gtk/color_dlg.c
parent26cbfc1be1232d1871fdb11cb780a5a2a36a6587 (diff)
downloadwireshark-98c23905155e0a372ac204af96754810e38085ad.tar.gz
Fix some clang warnings: implicit conversion from enumeration type 'GtkStateType' to different enumeration type 'GtkStateFlags' [-Werror,-Wconversion]
GTK_STATE_NORMAL and GTK_STATE_FLAG_NORMAL are both 0. svn path=/trunk/; revision=43854
Diffstat (limited to 'ui/gtk/color_dlg.c')
-rw-r--r--ui/gtk/color_dlg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk/color_dlg.c b/ui/gtk/color_dlg.c
index a745eaca05..3b7199b6ef 100644
--- a/ui/gtk/color_dlg.c
+++ b/ui/gtk/color_dlg.c
@@ -784,10 +784,10 @@ create_new_color_filter(GtkButton *button, const char *filter)
/* Use the default background and foreground colors as the colors. */
#if GTK_CHECK_VERSION(3,0,0)
context = gtk_widget_get_style_context (new_packet_list_get_widget());
- gtk_style_context_get (context, GTK_STATE_NORMAL,
+ gtk_style_context_get (context, GTK_STATE_FLAG_NORMAL,
"background-color", &rgba_bg_color,
NULL);
- gtk_style_context_get (context, GTK_STATE_NORMAL,
+ gtk_style_context_get (context, GTK_STATE_FLAG_NORMAL,
"color", &rgba_fg_color,
NULL);
gdkRGBAcolor_to_color_t(&bg_color, rgba_bg_color);