aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/profile_dlg.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-07-27 10:05:09 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-07-27 10:05:09 +0000
commit6c268b9e8792e63e16cee2424ebc0c7587728c43 (patch)
tree2a226cd973150a1382cb4f8da0da3204909c0ea0 /gtk/profile_dlg.c
parent272afd9851f29ccef9d3990a4faddc6a309762be (diff)
gtk_tree_view_column_get_button ()
is available in GTK 3.0 use that. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38222 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/profile_dlg.c')
-rw-r--r--gtk/profile_dlg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/profile_dlg.c b/gtk/profile_dlg.c
index 29f1a0b8e9..16d719f5d4 100644
--- a/gtk/profile_dlg.c
+++ b/gtk/profile_dlg.c
@@ -49,7 +49,7 @@
#include "gtk/gtkglobals.h"
#include "gtk/help_dlg.h"
#include "gtk/recent.h"
-
+#include "gtk/old-gtk-compat.h"
enum {
NAME_COLUMN,
GLOBAL_COLUMN,
@@ -862,7 +862,7 @@ profile_dialog_new(void)
renderer = gtk_cell_renderer_toggle_new();
column = gtk_tree_view_column_new_with_attributes("Global", renderer, "active", GLOBAL_COLUMN, NULL);
gtk_tree_view_append_column(GTK_TREE_VIEW(profile_l), column);
- gtk_widget_set_tooltip_text(column->button, "Global profiles will be copied to users profiles when used");
+ gtk_widget_set_tooltip_text(gtk_tree_view_column_get_button(column), "Global profiles will be copied to users profiles when used");
gtk_tree_view_column_set_visible(column, has_global);
sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(profile_l));