Commit a5869f4c authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

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)
parent aa04eae7
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> Mon Nov 15 17:17:17 2004 Manish Singh <yosh@gimp.org>
* configure.in: Output Makefile for the pixbuf engine directory. * configure.in: Output Makefile for the pixbuf engine directory.
......
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> Mon Nov 15 17:17:17 2004 Manish Singh <yosh@gimp.org>
* configure.in: Output Makefile for the pixbuf engine directory. * configure.in: Output Makefile for the pixbuf engine directory.
......
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> Mon Nov 15 17:17:17 2004 Manish Singh <yosh@gimp.org>
* configure.in: Output Makefile for the pixbuf engine directory. * configure.in: Output Makefile for the pixbuf engine directory.
......
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> Mon Nov 15 17:17:17 2004 Manish Singh <yosh@gimp.org>
* configure.in: Output Makefile for the pixbuf engine directory. * configure.in: Output Makefile for the pixbuf engine directory.
......
...@@ -1696,8 +1696,8 @@ gtk_button_screen_changed (GtkWidget *widget, ...@@ -1696,8 +1696,8 @@ gtk_button_screen_changed (GtkWidget *widget,
settings = gtk_widget_get_settings (widget); settings = gtk_widget_get_settings (widget);
show_image_connection = show_image_connection =
GPOINTER_TO_INT (g_object_get_data (G_OBJECT (settings), GPOINTER_TO_UINT (g_object_get_data (G_OBJECT (settings),
"gtk-button-connection")); "gtk-button-connection"));
if (show_image_connection) if (show_image_connection)
return; return;
...@@ -1707,7 +1707,7 @@ gtk_button_screen_changed (GtkWidget *widget, ...@@ -1707,7 +1707,7 @@ gtk_button_screen_changed (GtkWidget *widget,
G_CALLBACK (gtk_button_setting_changed), 0); G_CALLBACK (gtk_button_setting_changed), 0);
g_object_set_data (G_OBJECT (settings), g_object_set_data (G_OBJECT (settings),
"gtk-button-connection", "gtk-button-connection",
GINT_TO_POINTER (show_image_connection)); GUINT_TO_POINTER (show_image_connection));
show_image_change_notify (GTK_BUTTON (widget)); show_image_change_notify (GTK_BUTTON (widget));
} }
......
...@@ -589,8 +589,8 @@ gtk_image_menu_item_screen_changed (GtkWidget *widget, ...@@ -589,8 +589,8 @@ gtk_image_menu_item_screen_changed (GtkWidget *widget,
settings = gtk_widget_get_settings (widget); settings = gtk_widget_get_settings (widget);
show_image_connection = show_image_connection =
GPOINTER_TO_INT (g_object_get_data (G_OBJECT (settings), GPOINTER_TO_UINT (g_object_get_data (G_OBJECT (settings),
"gtk-image-menu-item-connection")); "gtk-image-menu-item-connection"));
if (show_image_connection) if (show_image_connection)
return; return;
...@@ -600,7 +600,7 @@ gtk_image_menu_item_screen_changed (GtkWidget *widget, ...@@ -600,7 +600,7 @@ gtk_image_menu_item_screen_changed (GtkWidget *widget,
G_CALLBACK (gtk_image_menu_item_setting_changed), 0); G_CALLBACK (gtk_image_menu_item_setting_changed), 0);
g_object_set_data (G_OBJECT (settings), g_object_set_data (G_OBJECT (settings),
"gtk-image-menu-item-connection", "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)); show_image_change_notify (GTK_IMAGE_MENU_ITEM (widget));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment