]> Pileus Git - ~andy/gtk/blobdiff - gdk-pixbuf/test-gdk-pixbuf.c
[quartz] Delete the typedef of GdkDevicePrivate
[~andy/gtk] / gdk-pixbuf / test-gdk-pixbuf.c
index c2bfbbbf02bf8daad508073a1f9806059c17bd06..b2d565a902c082cad7c58c0a53811d2b4e8b45e1 100644 (file)
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include <config.h>
+#include "config.h"
 
 #include <stdlib.h>
 #include "gdk-pixbuf.h"
-#include <gobject/gtype.h>
+#include <glib-object.h>
 
 \f
 
@@ -99,8 +99,8 @@ simple_composite_test_one (GdkInterpType type,
                                   + 16 * gdk_pixbuf_get_n_channels (destination_pixbuf),
                                   destination_alpha);
          
-       gdk_pixbuf_unref (source_pixbuf);
-       gdk_pixbuf_unref (destination_pixbuf);
+       g_object_unref (source_pixbuf);
+       g_object_unref (destination_pixbuf);
 
        if (result_pixel != expected_result) {
                char *interpolation_type, *source_string, *destination_string, *result_string, *expected_string;
@@ -230,7 +230,7 @@ main (int argc, char **argv)
 
        result = EXIT_SUCCESS;
 
-       g_type_init (G_TYPE_DEBUG_NONE);
+       g_type_init ();
        
        /* Run some tests. */
        if (!simple_composite_test ()) {