Commit 6fa44ae4 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Use gtk_image_new_from_icon_name().

2004-10-25  Matthias Clasen  <mclasen@redhat.com>

	* tests/testicontheme.c (main): Use gtk_image_new_from_icon_name().
parent 30f06bee
2004-10-25 Matthias Clasen <mclasen@redhat.com>
* tests/testicontheme.c (main): Use gtk_image_new_from_icon_name().
2004-10-25 Matthias Clasen <mclasen@redhat.com>
Add a public setting for button ordering (#74669, Owen Taylor)
......@@ -68,7 +72,7 @@ Sun Oct 24 02:56:43 2004 Jonathan Blandford <jrb@redhat.com>
Billy Biggs)
Sat Oct 23 16:14:37 2004 Søren Sandmann <sandmann@redhat.com>
tkIconThemeFile
* gtk/gtksequence.c (_gtk_sequence_node_insert_sorted): Remove
assertion that can get triggered by broken sort functions.
......
2004-10-25 Matthias Clasen <mclasen@redhat.com>
* tests/testicontheme.c (main): Use gtk_image_new_from_icon_name().
2004-10-25 Matthias Clasen <mclasen@redhat.com>
Add a public setting for button ordering (#74669, Owen Taylor)
......@@ -68,7 +72,7 @@ Sun Oct 24 02:56:43 2004 Jonathan Blandford <jrb@redhat.com>
Billy Biggs)
Sat Oct 23 16:14:37 2004 Søren Sandmann <sandmann@redhat.com>
tkIconThemeFile
* gtk/gtksequence.c (_gtk_sequence_node_insert_sorted): Remove
assertion that can get triggered by broken sort functions.
......
2004-10-25 Matthias Clasen <mclasen@redhat.com>
* tests/testicontheme.c (main): Use gtk_image_new_from_icon_name().
2004-10-25 Matthias Clasen <mclasen@redhat.com>
Add a public setting for button ordering (#74669, Owen Taylor)
......@@ -68,7 +72,7 @@ Sun Oct 24 02:56:43 2004 Jonathan Blandford <jrb@redhat.com>
Billy Biggs)
Sat Oct 23 16:14:37 2004 Søren Sandmann <sandmann@redhat.com>
tkIconThemeFile
* gtk/gtksequence.c (_gtk_sequence_node_insert_sorted): Remove
assertion that can get triggered by broken sort functions.
......
2004-10-25 Matthias Clasen <mclasen@redhat.com>
* tests/testicontheme.c (main): Use gtk_image_new_from_icon_name().
2004-10-25 Matthias Clasen <mclasen@redhat.com>
Add a public setting for button ordering (#74669, Owen Taylor)
......@@ -68,7 +72,7 @@ Sun Oct 24 02:56:43 2004 Jonathan Blandford <jrb@redhat.com>
Billy Biggs)
Sat Oct 23 16:14:37 2004 Søren Sandmann <sandmann@redhat.com>
tkIconThemeFile
* gtk/gtksequence.c (_gtk_sequence_node_insert_sorted): Remove
assertion that can get triggered by broken sort functions.
......
......@@ -63,12 +63,7 @@ main (int argc, char *argv[])
size = GTK_ICON_SIZE_BUTTON;
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
#if 1
pixbuf = gtk_icon_theme_load_icon (icon_theme, argv[3], size, 0, NULL);
image = gtk_image_new_from_pixbuf (pixbuf);
#else
image = gtk_image_new_from_icon_name (argv[3], size);
#endif
gtk_container_add (GTK_CONTAINER (window), image);
gtk_widget_show_all (window);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment