diff options
author | Dennis Cranston <dennis_cranston@yahoo.com> | 2005-11-24 06:47:07 +0000 |
---|---|---|
committer | Dennis Cranston <dcransto@src.gnome.org> | 2005-11-24 06:47:07 +0000 |
commit | c748d7ede229aeaca77b790be5f0319614e7b67f (patch) | |
tree | 6b779908b7592e5088b8de64075f72cf67a80ce8 /gui | |
parent | 9580d15cc69ea7c227bb3e115fec3874eea52102 (diff) | |
download | gdm-c748d7ede229aeaca77b790be5f0319614e7b67f.tar.gz |
Fix a double free. Remove unused function.
2005-11-23 Dennis Cranston <dennis_cranston@yahoo.com>
* gui/gdmphotosetup.c: (browse_button_cb):
Fix a double free. Remove unused function.
Diffstat (limited to 'gui')
-rw-r--r-- | gui/gdmphotosetup.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gui/gdmphotosetup.c b/gui/gdmphotosetup.c index 758f8f8a..b138ec49 100644 --- a/gui/gdmphotosetup.c +++ b/gui/gdmphotosetup.c @@ -97,18 +97,6 @@ scale_pixbuf (GdkPixbuf *pixbuf) return scaled; } -static void -set_preview_pixbuf (GtkImage *image, - GdkPixbuf *pixbuf) -{ - GdkPixbuf *preview_pixbuf; - - preview_pixbuf = scale_pixbuf (pixbuf); - gtk_image_set_from_pixbuf (GTK_IMAGE (image), preview_pixbuf); - - gdk_pixbuf_unref (preview_pixbuf); -} - static GdkPixbuf * create_preview_pixbuf (const gchar *uri) { @@ -296,8 +284,6 @@ browse_button_cb (GtkWidget *widget, gpointer data) add_preview_widget (file_dialog); - g_signal_connect (G_OBJECT (file_dialog), "destroy", - G_CALLBACK (gtk_widget_destroyed), &file_dialog); g_signal_connect (G_OBJECT (file_dialog), "response", G_CALLBACK (install_response), NULL); |