diff options
author | Benjamin Otte <otte@redhat.com> | 2014-06-29 19:52:37 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-06-30 01:08:02 +0200 |
commit | 62c6ef5a294b2cf473bc9768f6bdabbcead72234 (patch) | |
tree | c852e6273eac705e2124be129489deefc6493121 /tests/testicontheme.c | |
parent | 297abd6e54948418e5dff471f066eb6fb338220f (diff) | |
download | gtk+-62c6ef5a294b2cf473bc9768f6bdabbcead72234.tar.gz |
tests: Remove tests for icontheme properties
These properties have been removed and always return %NULL, so no need
to keep them.
Diffstat (limited to 'tests/testicontheme.c')
-rw-r--r-- | tests/testicontheme.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/testicontheme.c b/tests/testicontheme.c index 1b63b11e3f..47c0e4b298 100644 --- a/tests/testicontheme.c +++ b/tests/testicontheme.c @@ -62,16 +62,11 @@ main (int argc, char *argv[]) { GtkIconTheme *icon_theme; GtkIconInfo *icon_info; - GdkRectangle embedded_rect; - GdkPoint *attach_points; - int n_attach_points; - const gchar *display_name; char *context; char *themename; GList *list; int size = 48; int scale = 1; - int i; gtk_init (&argc, &argv); @@ -223,29 +218,6 @@ main (int argc, char *argv[]) g_object_unref (pixbuf); } - if (gtk_icon_info_get_embedded_rect (icon_info, &embedded_rect)) - { - g_print ("Embedded rect: %d,%d %dx%d\n", - embedded_rect.x, embedded_rect.y, - embedded_rect.width, embedded_rect.height); - } - - if (gtk_icon_info_get_attach_points (icon_info, &attach_points, &n_attach_points)) - { - g_print ("Attach Points: "); - for (i = 0; i < n_attach_points; i++) - g_print ("%d, %d; ", - attach_points[i].x, - attach_points[i].y); - g_free (attach_points); - g_print ("\n"); - } - - display_name = gtk_icon_info_get_display_name (icon_info); - - if (display_name) - g_print ("Display name: %s\n", display_name); - g_object_unref (icon_info); } } |