Federico Mena Quintero
5ebb6b04f2
Fix #105497; constify uses of GdkColor.
2004-01-26 Federico Mena Quintero <federico@ximian.com>
Fix #105497; constify uses of GdkColor.
* gdk/gdkgc.c (gdk_gc_set_rgb_fg_color): Constify.
(gdk_gc_set_rgb_bg_color): Constify.
(gdk_gc_set_foreground): Constify.
* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): Constify.
* gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Constify.
* gdk/linux-fb/gdkcursor-fb.c (gdk_cursor_new_from_pixmap): Constify.
* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_create_from_data): Constify.
* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_create_from_data): Constify.
* gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_create_from_data): Constify.
* gdk/x11/gdkwindow-x11.c (gdk_window_set_background): Constify.
* gdk/win32/gdkwindow-win32.c (gdk_window_set_background): Constify.
* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_background): Constify.
* gdk/gdkpango.c (gdk_draw_layout_line_with_colors): Constify.
(gdk_draw_layout_with_colors): Constify.
* gdk/gdkpixmap.c (gdk_pixmap_colormap_new_from_pixbuf): Constify.
(gdk_pixmap_colormap_create_from_xpm): Constify.
(gdk_pixmap_create_from_xpm): Constify.
(gdk_pixmap_colormap_create_from_xpm_d): Constify.
(gdk_pixmap_create_from_xpm_d): Constify.
* gtk/gtkcellview.c (gtk_cell_view_set_background_color): Constify.
* gtk/gtkclist.c (gtk_clist_set_foreground): Constify.
(gtk_clist_set_background): Constify.
* gtk/gtkcolorbutton.c (gtk_color_button_new_with_color): Constify.
(gtk_color_button_set_color): Constify.
* gtk/gtkcolorsel.c (gtk_color_selection_set_current_color):
Constify and add a check for color != NULL.
(gtk_color_selection_get_current_color): Add a check for color != NULL.
(gtk_color_selection_set_previous_color): Constify and add a check
for color != NULL.
(gtk_color_selection_get_previous_color): Add a check for color != NULL.
* gtk/gtkctree.c (gtk_ctree_node_set_foreground): Constify.
(gtk_ctree_node_set_background): Constify.
* gtk/gtktext.c (gtk_text_insert): Constify.
(insert_text_property): Constify.
(text_properties_equal): Constify.
(new_text_property): Constify.
* gtk/gtkwidget.c (gtk_widget_modify_color_component): Constify.
(gtk_widget_modify_fg): Constify.
(gtk_widget_modify_bg): Constify.
(gtk_widget_modify_text): Constify.
(gtk_widget_modify_base): Constify.
2004-01-26 20:21:09 +00:00
..
2004-01-26 20:21:09 +00:00
2004-01-26 20:21:09 +00:00
2004-01-26 20:21:09 +00:00
2003-07-09 17:57:51 +00:00
1999-09-28 20:19:13 +00:00
2003-12-11 23:52:59 +00:00
2004-01-04 15:45:56 +00:00
2003-12-10 17:04:58 +00:00
2002-12-06 00:10:20 +00:00
2002-11-17 22:04:03 +00:00
2002-02-17 00:25:05 +00:00
2002-06-20 23:59:27 +00:00
2004-01-26 20:21:09 +00:00
2003-12-16 00:56:48 +00:00
2003-12-16 00:56:48 +00:00
2004-01-16 23:10:05 +00:00
2002-06-20 23:59:27 +00:00
2002-10-25 00:01:15 +00:00
2002-11-08 19:41:50 +00:00
2003-12-13 22:45:25 +00:00
2004-01-26 20:21:09 +00:00
2003-12-16 00:56:48 +00:00
2003-08-10 23:37:37 +00:00
2002-12-06 00:10:20 +00:00
2002-11-17 22:04:03 +00:00
2004-01-26 20:21:09 +00:00
2004-01-26 20:21:09 +00:00
2003-12-08 17:13:13 +00:00
2002-01-30 02:01:10 +00:00
2002-09-25 07:23:55 +00:00
2004-01-05 18:28:09 +00:00
2002-11-08 19:41:50 +00:00
2003-11-03 20:10:34 +00:00
2004-01-17 22:15:58 +00:00
2003-05-14 21:46:59 +00:00
2003-09-30 00:36:29 +00:00
2002-09-23 21:35:00 +00:00
2003-12-09 22:04:01 +00:00
2003-12-09 22:04:01 +00:00
2002-08-01 23:43:13 +00:00
2004-01-26 20:21:09 +00:00
2002-04-25 22:29:14 +00:00
2003-11-17 23:16:49 +00:00
2003-01-31 00:37:38 +00:00
2003-01-31 00:37:38 +00:00
2004-01-26 20:21:09 +00:00
2004-01-26 20:21:09 +00:00
2000-03-28 01:24:44 +00:00
2002-03-01 22:01:51 +00:00
2001-09-07 21:50:20 +00:00
2002-04-25 22:29:14 +00:00
2001-09-10 16:54:07 +00:00
2003-08-08 21:39:19 +00:00
2000-07-24 16:19:00 +00:00
2001-03-02 20:02:17 +00:00
2003-06-02 14:14:41 +00:00
2002-04-25 22:29:14 +00:00
2003-09-30 00:36:29 +00:00
2002-10-31 21:12:23 +00:00
2002-08-01 15:28:40 +00:00
2002-11-08 19:41:50 +00:00
2003-12-10 13:49:58 +00:00
2002-04-25 22:29:14 +00:00
2002-06-20 23:59:27 +00:00
2002-06-06 00:26:42 +00:00
2003-11-17 23:16:49 +00:00
2004-01-26 20:21:09 +00:00
2001-04-02 23:33:47 +00:00
2003-12-10 13:49:58 +00:00
2003-11-15 20:35:55 +00:00
2000-10-09 19:49:42 +00:00