From e1173b456686463c4819be53b77bf04547eac454 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Thu, 22 Jan 2009 01:20:16 +0000 Subject: Remove EphyIconEntry leftovers. svn path=/trunk/; revision=8715 --- lib/widgets/testiconentry.c | 64 --------------------------------------------- 1 file changed, 64 deletions(-) delete mode 100644 lib/widgets/testiconentry.c (limited to 'lib/widgets') diff --git a/lib/widgets/testiconentry.c b/lib/widgets/testiconentry.c deleted file mode 100644 index 75bd0d88c..000000000 --- a/lib/widgets/testiconentry.c +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright © 2005 Christian Persch - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - */ - -#include -#include - -#include "ephy-icon-entry.h" -#include "ephy-icon-entry.c" - -int main(int argc, char **argv) -{ - GtkWidget *window, *vbox, *entry, *image; - - gtk_init (&argc, &argv); - - window = gtk_window_new (GTK_WINDOW_TOPLEVEL); - - vbox = gtk_vbox_new (0, FALSE); - gtk_container_add (GTK_CONTAINER (window), vbox); - gtk_container_set_border_width (GTK_CONTAINER (window), 12); - - entry = ephy_icon_entry_new (); - gtk_box_pack_start (GTK_BOX (vbox), entry, TRUE, TRUE, 10); - gtk_entry_set_text (GTK_ENTRY (EPHY_ICON_ENTRY (entry)->entry), "Icon Entry"); - - image = gtk_image_new_from_stock (GTK_STOCK_NEW, GTK_ICON_SIZE_MENU); - ephy_icon_entry_pack_widget (EPHY_ICON_ENTRY (entry), image, TRUE); - image = gtk_image_new_from_stock (GTK_STOCK_CLEAR, GTK_ICON_SIZE_MENU); - ephy_icon_entry_pack_widget (EPHY_ICON_ENTRY (entry), image, TRUE); - image = gtk_image_new_from_stock (GTK_STOCK_QUIT, GTK_ICON_SIZE_MENU); - ephy_icon_entry_pack_widget (EPHY_ICON_ENTRY (entry), image, TRUE); - image = gtk_image_new_from_stock (GTK_STOCK_ADD, GTK_ICON_SIZE_MENU); - ephy_icon_entry_pack_widget (EPHY_ICON_ENTRY (entry), image, FALSE); - image = gtk_image_new_from_stock (GTK_STOCK_CDROM, GTK_ICON_SIZE_MENU); - ephy_icon_entry_pack_widget (EPHY_ICON_ENTRY (entry), image, FALSE); - - entry = gtk_entry_new (); - gtk_box_pack_start (GTK_BOX (vbox), entry, TRUE, TRUE, 10); - gtk_entry_set_text (GTK_ENTRY (entry), "Normal entry"); - - gtk_widget_show_all (window); - - g_signal_connect (window, "delete-event", G_CALLBACK (gtk_main_quit), NULL); - - gtk_main (); - - return 0; -} -- cgit v1.2.3