Use GPOINTER_TO_UINT()/GUINT_TO_POINTER() for guints. (#158420, Morten

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimagemenuitem.c (gtk_image_menu_item_screen_changed):
	* gtk/gtkbutton.c (gtk_button_screen_changed): Use
	GPOINTER_TO_UINT()/GUINT_TO_POINTER() for guints.  (#158420,
	Morten Welinder)
This commit is contained in:
Matthias Clasen 2004-11-16 02:01:41 +00:00 committed by Matthias Clasen
parent aa04eae7b7
commit a5869f4c50
6 changed files with 34 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2004-11-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_screen_changed):
* gtk/gtkbutton.c (gtk_button_screen_changed): Use
GPOINTER_TO_UINT()/GUINT_TO_POINTER() for guints. (#158420,
Morten Welinder)
Mon Nov 15 17:17:17 2004 Manish Singh <yosh@gimp.org>
* configure.in: Output Makefile for the pixbuf engine directory.

View File

@ -1,3 +1,10 @@
2004-11-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_screen_changed):
* gtk/gtkbutton.c (gtk_button_screen_changed): Use
GPOINTER_TO_UINT()/GUINT_TO_POINTER() for guints. (#158420,
Morten Welinder)
Mon Nov 15 17:17:17 2004 Manish Singh <yosh@gimp.org>
* configure.in: Output Makefile for the pixbuf engine directory.

View File

@ -1,3 +1,10 @@
2004-11-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_screen_changed):
* gtk/gtkbutton.c (gtk_button_screen_changed): Use
GPOINTER_TO_UINT()/GUINT_TO_POINTER() for guints. (#158420,
Morten Welinder)
Mon Nov 15 17:17:17 2004 Manish Singh <yosh@gimp.org>
* configure.in: Output Makefile for the pixbuf engine directory.

View File

@ -1,3 +1,10 @@
2004-11-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_screen_changed):
* gtk/gtkbutton.c (gtk_button_screen_changed): Use
GPOINTER_TO_UINT()/GUINT_TO_POINTER() for guints. (#158420,
Morten Welinder)
Mon Nov 15 17:17:17 2004 Manish Singh <yosh@gimp.org>
* configure.in: Output Makefile for the pixbuf engine directory.

View File

@ -1696,8 +1696,8 @@ gtk_button_screen_changed (GtkWidget *widget,
settings = gtk_widget_get_settings (widget);
show_image_connection =
GPOINTER_TO_INT (g_object_get_data (G_OBJECT (settings),
"gtk-button-connection"));
GPOINTER_TO_UINT (g_object_get_data (G_OBJECT (settings),
"gtk-button-connection"));
if (show_image_connection)
return;
@ -1707,7 +1707,7 @@ gtk_button_screen_changed (GtkWidget *widget,
G_CALLBACK (gtk_button_setting_changed), 0);
g_object_set_data (G_OBJECT (settings),
"gtk-button-connection",
GINT_TO_POINTER (show_image_connection));
GUINT_TO_POINTER (show_image_connection));
show_image_change_notify (GTK_BUTTON (widget));
}

View File

@ -589,8 +589,8 @@ gtk_image_menu_item_screen_changed (GtkWidget *widget,
settings = gtk_widget_get_settings (widget);
show_image_connection =
GPOINTER_TO_INT (g_object_get_data (G_OBJECT (settings),
"gtk-image-menu-item-connection"));
GPOINTER_TO_UINT (g_object_get_data (G_OBJECT (settings),
"gtk-image-menu-item-connection"));
if (show_image_connection)
return;
@ -600,7 +600,7 @@ gtk_image_menu_item_screen_changed (GtkWidget *widget,
G_CALLBACK (gtk_image_menu_item_setting_changed), 0);
g_object_set_data (G_OBJECT (settings),
"gtk-image-menu-item-connection",
GINT_TO_POINTER (show_image_connection));
GUINT_TO_POINTER (show_image_connection));
show_image_change_notify (GTK_IMAGE_MENU_ITEM (widget));
}