]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/cursor.cpp
Comment out suspicious 1-bit bitmap conversion
[wxWidgets.git] / src / gtk / cursor.cpp
index c975d3cf0d3474fc696a85eb8bae2cc655a98082..d02105ec8b92d052e6cce486cf6cd6b792df50a9 100644 (file)
@@ -147,8 +147,8 @@ wxCursor::wxCursor(const char bits[], int width, int  height,
                  data, mask, fg->GetColor(), bg->GetColor(),
                  hotSpotX, hotSpotY );
 
-    g_object_unref (G_OBJECT (data));
-    g_object_unref (G_OBJECT (mask));
+    g_object_unref (data);
+    g_object_unref (mask);
 }
 
 #if wxUSE_IMAGE
@@ -299,8 +299,8 @@ wxCursor::wxCursor( const wxImage & image )
                                 hotSpotX, hotSpotY
                              );
 
-    g_object_unref (G_OBJECT (data));
-    g_object_unref (G_OBJECT (mask));
+    g_object_unref (data);
+    g_object_unref (mask);
     delete [] bits;
     delete [] maskBits;
 }