summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorStephen Browne <stephen@src.gnome.org>2002-05-30 10:53:32 +0000
committerStephen Browne <stephen@src.gnome.org>2002-05-30 10:53:32 +0000
commitbfd67fadef9f5e200e780386a572617f8da9a4c3 (patch)
tree66ffe51722e6bdc762e60de3a8868c46a74b074b /src/tools
parent2f74af1c04661ce4228c0422fda8698ea503a034 (diff)
downloadmetacity-bfd67fadef9f5e200e780386a572617f8da9a4c3.tar.gz
Rip out code for adding image to the dialog
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/metacity-properties.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tools/metacity-properties.c b/src/tools/metacity-properties.c
index 9caf00ae..76534cc8 100644
--- a/src/tools/metacity-properties.c
+++ b/src/tools/metacity-properties.c
@@ -105,7 +105,7 @@ main (int argc, char **argv)
{
GladeXML *xml;
GdkPixbuf *pixbuf;
- GtkWidget *window, *icon;
+ GtkWidget *window;
bindtextdomain (GETTEXT_PACKAGE, METACITY_LOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
@@ -120,13 +120,11 @@ main (int argc, char **argv)
point_radio = glade_xml_get_widget (xml, "Pointfocus");
autoraise_check = glade_xml_get_widget (xml, "Autoraise");
window = glade_xml_get_widget (xml, "Mainwindow");
- icon = glade_xml_get_widget (xml, "Icon");
pixbuf = gdk_pixbuf_new_from_file (METACITY_PROPS_ICON_DIR
"/metacity-properties.png", NULL);
gtk_window_set_icon (GTK_WINDOW (window), pixbuf);
- gtk_image_set_from_pixbuf (GTK_IMAGE(icon) , pixbuf);
g_object_unref (G_OBJECT (pixbuf));
gconf_client = gconf_client_get_default ();