]> Pileus Git - ~andy/gtk/blobdiff - tests/testdnd.c
Some cleanups after the module cache file change
[~andy/gtk] / tests / testdnd.c
index 58052ad8a04fb4123a9f8c8fe0dfc06cee6af617..24d642f6adb9a83d43b9a5a0618f5612e8be2457 100644 (file)
@@ -18,7 +18,7 @@
  * Boston, MA 02111-1307, USA.
  */
 
-#include <config.h>
+#include "config.h"
 #include "gtk/gtk.h"
 
 /* Target side drag signals */
@@ -336,7 +336,7 @@ target_drag_motion     (GtkWidget          *widget,
 
   source_widget = gtk_drag_get_source_widget (context);
   g_print ("motion, source %s\n", source_widget ?
-          GTK_OBJECT_TYPE_NAME (source_widget) :
+          G_OBJECT_TYPE_NAME (source_widget) :
           "NULL");
 
   tmp_list = context->targets;
@@ -432,7 +432,7 @@ source_drag_data_get  (GtkWidget          *widget,
 }
   
 /* The following is a rather elaborate example demonstrating/testing
- * changing of the window heirarchy during a drag - in this case,
+ * changing of the window hierarchy during a drag - in this case,
  * via a "spring-loaded" popup window.
  */
 static GtkWidget *popup_window = NULL;
@@ -581,8 +581,8 @@ test_init (void)
   if (g_file_test ("../gdk-pixbuf/libpixbufloader-pnm.la",
                   G_FILE_TEST_EXISTS))
     {
-      g_setenv ("GDK_PIXBUF_MODULE_FILE", "../gdk-pixbuf/gdk-pixbuf.loaders", TRUE);
-      g_setenv ("GTK_IM_MODULE_FILE", "../modules/input/gtk.immodules", TRUE);
+      g_setenv ("GDK_PIXBUF_MODULE_FILE", "../gdk-pixbuf/loaders.cache", TRUE);
+      g_setenv ("GTK_IM_MODULE_FILE", "../modules/input/immodules.cache", TRUE);
     }
 }