From 4de04eae2743e2e535302ed5363e970b66419b69 Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Fri, 11 Apr 2008 19:04:34 +0000 Subject: replace CHECK_BUTTON_NEW_WITH_MNEMONIC with gtk_check_button_new_with_mnemonic svn path=/trunk/; revision=24905 --- gtk/print_dlg.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gtk/print_dlg.c') diff --git a/gtk/print_dlg.c b/gtk/print_dlg.c index 8e2fa5a4e7..ab108ffa26 100644 --- a/gtk/print_dlg.c +++ b/gtk/print_dlg.c @@ -596,7 +596,7 @@ open_print_dialog(const char *title, output_action_e action, print_args_t *args) /* Output to file button */ - dest_cb = CHECK_BUTTON_NEW_WITH_MNEMONIC("Output to _file:", accel_group); + dest_cb = gtk_check_button_new_with_mnemonic("Output to _file:"); if (args->to_file) gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(dest_cb), TRUE); gtk_tooltips_set_tip (tooltips, dest_cb, "Output to file instead of printer", NULL); @@ -684,7 +684,7 @@ open_print_dialog(const char *title, output_action_e action, print_args_t *args) gtk_widget_show(format_vb); /* "Print summary line" check button */ - summary_cb = CHECK_BUTTON_NEW_WITH_MNEMONIC("Packet summary line", accel_group); + summary_cb = gtk_check_button_new_with_mnemonic("Packet summary line"); gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(summary_cb), args->print_summary); SIGNAL_CONNECT(summary_cb, "clicked", print_cmd_toggle_detail, main_win); gtk_tooltips_set_tip (tooltips, summary_cb, "Output of a packet summary line, like in the packet list", NULL); @@ -693,7 +693,7 @@ open_print_dialog(const char *title, output_action_e action, print_args_t *args) /* "Details" check button */ - details_cb = CHECK_BUTTON_NEW_WITH_MNEMONIC("Packet details:", accel_group); + details_cb = gtk_check_button_new_with_mnemonic("Packet details:"); gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(details_cb), args->print_dissections != print_dissections_none); SIGNAL_CONNECT(details_cb, "clicked", print_cmd_toggle_detail, main_win); gtk_tooltips_set_tip (tooltips, details_cb, "Output format of the selected packet details (protocol tree).", NULL); @@ -736,7 +736,7 @@ open_print_dialog(const char *title, output_action_e action, print_args_t *args) gtk_widget_show(expand_all_rb); /* "Print hex" check button. */ - hex_cb = CHECK_BUTTON_NEW_WITH_MNEMONIC("Packet bytes", accel_group); + hex_cb = gtk_check_button_new_with_mnemonic("Packet bytes"); gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(hex_cb), args->print_hex); SIGNAL_CONNECT(hex_cb, "clicked", print_cmd_toggle_detail, main_win); gtk_tooltips_set_tip (tooltips, hex_cb, "Add a hexdump of the packet data", NULL); @@ -749,7 +749,7 @@ open_print_dialog(const char *title, output_action_e action, print_args_t *args) gtk_widget_show(sep); /* "Each packet on a new page" check button. */ - formfeed_cb = CHECK_BUTTON_NEW_WITH_MNEMONIC("Each packet on a new page", accel_group); + formfeed_cb = gtk_check_button_new_with_mnemonic("Each packet on a new page"); gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(formfeed_cb), args->print_formfeed); gtk_tooltips_set_tip (tooltips, formfeed_cb, "When checked, a new page will be used for each packet. " "This is done by adding a formfeed (or similar) between the packet outputs.", NULL); -- cgit v1.2.3