diff options
Diffstat (limited to 'tests/testtoolbar.c')
-rw-r--r-- | tests/testtoolbar.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/testtoolbar.c b/tests/testtoolbar.c index d664669a61..460712bef9 100644 --- a/tests/testtoolbar.c +++ b/tests/testtoolbar.c @@ -19,7 +19,6 @@ */ #include "config.h" #include <gtk/gtk.h> -#include "prop-editor.h" static void change_orientation (GtkWidget *button, GtkWidget *toolbar) @@ -348,14 +347,6 @@ static GtkTargetEntry target_table[] = { { "application/x-toolbar-item", 0, 0 } }; -static GtkWidget * -make_prop_editor (GObject *object) -{ - GtkWidget *prop_editor = create_prop_editor (object, 0); - gtk_widget_show (prop_editor); - return prop_editor; -} - static void rtl_toggled (GtkCheckButton *check) { @@ -670,8 +661,6 @@ main (gint argc, gchar **argv) item = gtk_radio_tool_button_new (group); gtk_tool_button_set_label (GTK_TOOL_BUTTON (item), "Center"); gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (item), "format-justify-center"); - make_prop_editor (G_OBJECT (item)); - group = gtk_radio_tool_button_get_group (GTK_RADIO_TOOL_BUTTON (item)); add_item_to_list (store, item, "Center"); gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1); @@ -743,8 +732,6 @@ main (gint argc, gchar **argv) gtk_widget_show_all (window); - make_prop_editor (G_OBJECT (toolbar)); - g_signal_connect (window, "delete_event", G_CALLBACK (gtk_main_quit), NULL); g_signal_connect (toolbar, "popup_context_menu", G_CALLBACK (popup_context_menu), NULL); |