From ba0bc7dff09ade6b8014183c44c4c44b42ed1396 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Fri, 26 Nov 2004 15:15:36 +0000 Subject: test prog 2004-11-26 JP Rosevear * test-info-label.c: test prog * e-url-entry.c: get image directly from icon factory * e-combo-button.c: ditto; convert to G_DEFINE_TYPE * e-activity-handler.c: convert to G_DEFINE_TYPE * e-task-widget.c: ditto * e-task-bar.c: ditto * e-multi-config-dialog.c: ditto * e-dropdown-button.c: ditto * e-cell-renderer-combo.c: ditto * e-cell-date-edit.c: ditto * e-calendar.c: ditto * e-calendar-item.c: ditto * Makefile.am: don't build the title bar, build an info label test program svn path=/trunk/; revision=27999 --- widgets/misc/e-url-entry.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'widgets/misc/e-url-entry.c') diff --git a/widgets/misc/e-url-entry.c b/widgets/misc/e-url-entry.c index e2f15802f9..e712485585 100644 --- a/widgets/misc/e-url-entry.c +++ b/widgets/misc/e-url-entry.c @@ -94,7 +94,6 @@ init (EUrlEntry *url_entry) { EUrlEntryPrivate *priv; GtkWidget *pixmap; - GdkPixbuf *pixbuf; priv = g_new0 (EUrlEntryPrivate, 1); url_entry->priv = priv; @@ -104,9 +103,7 @@ init (EUrlEntry *url_entry) priv->button = gtk_button_new (); gtk_widget_set_sensitive (priv->button, FALSE); gtk_box_pack_start (GTK_BOX (url_entry), priv->button, FALSE, FALSE, 0); - pixbuf = e_icon_factory_get_icon ("stock_connect-to-url", E_ICON_SIZE_BUTTON); - pixmap = gtk_image_new_from_pixbuf (pixbuf); - g_object_unref (pixbuf); + pixmap = e_icon_factory_get_image ("stock_connect-to-url", E_ICON_SIZE_BUTTON); gtk_container_add (GTK_CONTAINER (priv->button), pixmap); gtk_widget_show (pixmap); -- cgit