aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2009-01-22 09:20:16 +0800
committerXan Lopez <xan@src.gnome.org>2009-01-22 09:20:16 +0800
commite1173b456686463c4819be53b77bf04547eac454 (patch)
treea84280ec4aaee8887154b603baca03173ace731a /lib
parentc0910bfcfcff2a79efa4e6d5bfe629f541cfa13b (diff)
downloadgsoc2013-epiphany-e1173b456686463c4819be53b77bf04547eac454.tar
gsoc2013-epiphany-e1173b456686463c4819be53b77bf04547eac454.tar.gz
gsoc2013-epiphany-e1173b456686463c4819be53b77bf04547eac454.tar.bz2
gsoc2013-epiphany-e1173b456686463c4819be53b77bf04547eac454.tar.lz
gsoc2013-epiphany-e1173b456686463c4819be53b77bf04547eac454.tar.xz
gsoc2013-epiphany-e1173b456686463c4819be53b77bf04547eac454.tar.zst
gsoc2013-epiphany-e1173b456686463c4819be53b77bf04547eac454.zip
Remove EphyIconEntry leftovers.
svn path=/trunk/; revision=8715
Diffstat (limited to 'lib')
-rw-r--r--lib/widgets/testiconentry.c64
1 files changed, 0 insertions, 64 deletions
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 <glib.h>
-#include <gtk/gtk.h>
-
-#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;
-}