aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/edit_packet_comment_dlg.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2012-03-01 16:03:42 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2012-03-01 16:03:42 +0000
commit8db7c4d36938e182675337b2e665b4321dfb3bfb (patch)
treeceb0e37a7430e8f6fce449de223a4e03707dcf9a /ui/gtk/edit_packet_comment_dlg.c
parente3cf120575427b7d0092a2a3ce41cd48e5aa7f48 (diff)
#if out setting the help buttons' callbacks to NULL to avoid GLib-Object-CRITICAL warnings.
svn path=/trunk/; revision=41269
Diffstat (limited to 'ui/gtk/edit_packet_comment_dlg.c')
-rw-r--r--ui/gtk/edit_packet_comment_dlg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/gtk/edit_packet_comment_dlg.c b/ui/gtk/edit_packet_comment_dlg.c
index e3dc43af57..7dab0630a4 100644
--- a/ui/gtk/edit_packet_comment_dlg.c
+++ b/ui/gtk/edit_packet_comment_dlg.c
@@ -162,7 +162,9 @@ edit_packet_comment_dlg (GtkAction *action _U_, gpointer data _U_)
window_set_cancel_button (edit_or_add_pkt_comment_dlg, close_bt, window_cancel_button_cb);
help_bt = g_object_get_data (G_OBJECT(bbox), GTK_STOCK_HELP);
+#if 0
g_signal_connect (help_bt, "clicked",/* G_CALLBACK(topic_cb)*/NULL, /*(gpointer)HELP_MANUAL_ADDR_RESOLVE_DIALOG*/NULL);
+#endif
gtk_widget_set_sensitive (help_bt, FALSE);
gtk_widget_grab_default (save_bt);
@@ -240,7 +242,9 @@ edit_capture_dlg_launch (void)
window_set_cancel_button (edit_or_add_capture_comment_dlg, close_bt, window_cancel_button_cb);
help_bt = g_object_get_data (G_OBJECT(bbox), GTK_STOCK_HELP);
+#if 0
g_signal_connect (help_bt, "clicked",/* G_CALLBACK(topic_cb)*/NULL, /*(gpointer)HELP_MANUAL_ADDR_RESOLVE_DIALOG*/NULL);
+#endif
gtk_widget_set_sensitive (help_bt, FALSE);
gtk_widget_grab_default (save_bt);