summaryrefslogtreecommitdiff
path: root/ui/gtk/hostlist_table.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2012-07-20 21:35:45 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2012-07-20 21:35:45 +0000
commit73b0691fd88a19cda9c443ac0309c34b94c2e095 (patch)
tree0727091a55f77006c89ceaaa48009ef2aa26e823 /ui/gtk/hostlist_table.c
parente4b07c11d4086223340a78709122e4176c13b3a0 (diff)
downloadwireshark-73b0691fd88a19cda9c443ac0309c34b94c2e095.tar.gz
gtk_container_add() -> gtk_box_pack_start() [bug #7377]
svn path=/trunk/; revision=43874
Diffstat (limited to 'ui/gtk/hostlist_table.c')
-rw-r--r--ui/gtk/hostlist_table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk/hostlist_table.c b/ui/gtk/hostlist_table.c
index ef559955bf..0b485f4f19 100644
--- a/ui/gtk/hostlist_table.c
+++ b/ui/gtk/hostlist_table.c
@@ -1672,7 +1672,7 @@ init_hostlist_notebook_cb(GtkWidget *w _U_, gpointer d _U_)
gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
resolv_cb = gtk_check_button_new_with_mnemonic("Name resolution");
- gtk_container_add(GTK_CONTAINER(hbox), resolv_cb);
+ gtk_box_pack_start(GTK_BOX(hbox), resolv_cb, TRUE, TRUE, 0);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(resolv_cb), TRUE);
gtk_widget_set_tooltip_text(resolv_cb,
"Show results of name resolutions rather than the \"raw\" values. Please note: The corresponding name resolution must be enabled.");
@@ -1680,7 +1680,7 @@ init_hostlist_notebook_cb(GtkWidget *w _U_, gpointer d _U_)
g_signal_connect(resolv_cb, "toggled", G_CALLBACK(hostlist_resolve_toggle_dest), pages);
filter_cb = gtk_check_button_new_with_mnemonic("Limit to display filter");
- gtk_container_add(GTK_CONTAINER(hbox), filter_cb);
+ gtk_box_pack_start(GTK_BOX(hbox), filter_cb, TRUE, TRUE, 0);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(filter_cb), FALSE);
gtk_widget_set_tooltip_text(filter_cb, "Limit the list to endpoints matching the current display filter.");