diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-06-29 15:51:43 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-06-29 15:51:43 +0000 |
commit | 56206e0002470030d7e4793fd853ffbcf62cd1a1 (patch) | |
tree | 91bb7cc0fd615b6c41bc56ac5af00c4b9e767d05 /gtk/export_object.c | |
parent | cd7405c44d58ba9e656c6108e5cab7b5dc475f98 (diff) |
Fix some simple cases of GTK2 deprecated API usage by using a renamed or equivalent API
gtk_container_border_width() ==> gtk_container_set_border_width()
gtk_container_children() ==> gtk_container_get_children()
gtk_entry_new_with_max_length() ==> gtk_entry_new(); gtk_entry_set_max_length()
gtk_menu_append() ==> gtk_menu_shell_append()
gtk_menu_prepend() ==> gtk_menu_shell_prepend()
gtk_notebook_set_page() ==> gtk_notebook_set_current_page()
gtk_paned_gutter_size() ==> gtk_paned_set_gutter_size()
gtk_radio_button_group() ==> gtk_radio_button_get_group()
gtk_signal_connect() ==> g_signal_connect()
gtk_signal_disconnect() ==> g_signal_handler_disconnect()
gtk_signal_emit_by_name() ==> g_signal_emit_by_name()
gtk_signal_handler_block_by_data() ==> g_signal_handlers_block_matched()
gtk_signal_handler_block_by_func() ==> g_signal_handlers_block_by_func()
gtk_signal_handler_unblock_by_data() ==> g_signal-handlers_unblock_matched()
gtk_signal_handler_unblock_by_func() ==> g_signal-handlers_unblock_by_func()
gtk_spin_button_get_value_as_float() ==> gtk_spin_button_get_value()
gtk_toggle_button_set_state() ==> gtk_toggle_button_set_active()
svn path=/trunk/; revision=25634
Diffstat (limited to 'gtk/export_object.c')
-rw-r--r-- | gtk/export_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/export_object.c b/gtk/export_object.c index b73cb3bff7..c20ac67171 100644 --- a/gtk/export_object.c +++ b/gtk/export_object.c @@ -299,7 +299,7 @@ export_object_window(const gchar *tapname, const gchar *name, tap_packet_cb tap_ vbox = gtk_vbox_new(FALSE, 5); - gtk_container_border_width(GTK_CONTAINER(vbox), 5); + gtk_container_set_border_width(GTK_CONTAINER(vbox), 5); gtk_container_add(GTK_CONTAINER(object_list->dlg), vbox); sw = scrolled_window_new(NULL, NULL); |