Don't cast a gchar to a GObject. (#112762)

2003-05-11  Anders Carlsson  <andersca@codefactory.se>

	* gtk/gtkdnd.c (gtk_drag_source_unset_icon): Don't cast a gchar to
	a GObject. (#112762)
This commit is contained in:
Anders Carlsson 2003-05-11 12:35:40 +00:00 committed by Anders Carlsson
parent d9f309d5b5
commit c3afabd5be
6 changed files with 26 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-05-11 Anders Carlsson <andersca@codefactory.se>
* gtk/gtkdnd.c (gtk_drag_source_unset_icon): Don't cast a gchar to
a GObject. (#112762)
2003-05-08 Sven Neumann <sven@gimp.org>
* configure.in: set the HAVE_X11R6 automake conditional to false

View File

@ -1,3 +1,8 @@
2003-05-11 Anders Carlsson <andersca@codefactory.se>
* gtk/gtkdnd.c (gtk_drag_source_unset_icon): Don't cast a gchar to
a GObject. (#112762)
2003-05-08 Sven Neumann <sven@gimp.org>
* configure.in: set the HAVE_X11R6 automake conditional to false

View File

@ -1,3 +1,8 @@
2003-05-11 Anders Carlsson <andersca@codefactory.se>
* gtk/gtkdnd.c (gtk_drag_source_unset_icon): Don't cast a gchar to
a GObject. (#112762)
2003-05-08 Sven Neumann <sven@gimp.org>
* configure.in: set the HAVE_X11R6 automake conditional to false

View File

@ -1,3 +1,8 @@
2003-05-11 Anders Carlsson <andersca@codefactory.se>
* gtk/gtkdnd.c (gtk_drag_source_unset_icon): Don't cast a gchar to
a GObject. (#112762)
2003-05-08 Sven Neumann <sven@gimp.org>
* configure.in: set the HAVE_X11R6 automake conditional to false

View File

@ -1,3 +1,8 @@
2003-05-11 Anders Carlsson <andersca@codefactory.se>
* gtk/gtkdnd.c (gtk_drag_source_unset_icon): Don't cast a gchar to
a GObject. (#112762)
2003-05-08 Sven Neumann <sven@gimp.org>
* configure.in: set the HAVE_X11R6 automake conditional to false

View File

@ -2053,7 +2053,7 @@ gtk_drag_source_unset_icon (GtkDragSourceSite *site)
g_object_unref (site->icon_data.pixbuf.pixbuf);
break;
case GTK_IMAGE_STOCK:
g_free (G_OBJECT (site->icon_data.stock.stock_id));
g_free (site->icon_data.stock.stock_id);
break;
default:
g_assert_not_reached();