gtk2/gdk/x11
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
..
.cvsignore Substitute gdkx.h => gdkprivate.h since we need to accesss only 1999-11-08 22:33:28 +00:00
gdkasync.c Change _gdk_x11_send_xevent_async() to 2003-07-08 22:27:47 +00:00
gdkasync.h Change _gdk_x11_send_xevent_async() to 2003-07-08 22:27:47 +00:00
gdkcolor-x11.c big patch from Kjartan Maraas to fix numerous typos. 2003-09-03 19:56:36 +00:00
gdkcursor-x11.c Fix #105497; constify uses of GdkColor. 2004-01-26 20:21:09 +00:00
gdkdisplay-x11.c Improve the GDK API for dealing with group leaders (#119375): 2003-12-09 23:12:53 +00:00
gdkdisplay-x11.h Improve the GDK API for dealing with group leaders (#119375): 2003-12-09 23:12:53 +00:00
gdkdnd-x11.c Change _gdk_x11_send_xevent_async() to 2003-07-08 22:27:47 +00:00
gdkdrawable-x11.c Add a fallback for unaligned source data for FORMAT_ARGB_MASK. (#117217) 2003-08-18 16:02:46 +00:00
gdkdrawable-x11.h Requires glib-2.3.0, pango-1.2.0. 2003-08-02 17:50:09 +00:00
gdkevents-x11.c Do not interpret distant clicks as double-clicks (#116541, Bernhard 2003-12-16 00:56:48 +00:00
gdkfont-x11.c Requires glib-2.3.0, pango-1.2.0. 2003-08-02 17:50:09 +00:00
gdkgc-x11.c Requires glib-2.3.0, pango-1.2.0. 2003-08-02 17:50:09 +00:00
gdkgeometry-x11.c Don't use impl->position_info.clip_rect for toplevels. (#107068, reported 2003-08-19 18:32:12 +00:00
gdkglobals-x11.c Start of integration of Erwann Chenede's multihead work from the 2002-04-25 22:29:14 +00:00
gdkim-x11.c More doc comments moved inline. 2002-11-01 00:45:32 +00:00
gdkimage-x11.c Rename from _gdk_x11_register_event_type(), added API docs. 2003-12-14 00:28:57 +00:00
gdkinput-none.c Bug #107664 continued: 2003-03-08 21:11:39 +00:00
gdkinput-x11.c Fix to allow reasonable pointer behavior in window mode when an extended 2003-12-31 22:00:21 +00:00
gdkinput-xfree.c Bug #107664 continued: 2003-03-08 21:11:39 +00:00
gdkinput.c Document 2.2 API additions. 2002-11-28 00:33:17 +00:00
gdkinputprivate.h Bug #107664 continued: 2003-03-08 21:11:39 +00:00
gdkkeys-x11.c Improve PointerHint docs. Explain is_hint field in GdkEventMotion. 2003-08-27 22:59:47 +00:00
gdkmain-x11.c Requires glib-2.3.0, pango-1.2.0. 2003-08-02 17:50:09 +00:00
gdkpango-x11.c Requires glib-2.3.0, pango-1.2.0. 2003-08-02 17:50:09 +00:00
gdkpixmap-x11.c Fix #105497; constify uses of GdkColor. 2004-01-26 20:21:09 +00:00
gdkpixmap-x11.h Make gdkx.h the only installed header from gdk/x11. All structures in 2001-09-07 21:50:20 +00:00
gdkprivate-x11.h Rename from _gdk_x11_register_event_type(), added API docs. 2003-12-14 00:28:57 +00:00
gdkproperty-x11.c Lookup all the atoms in the target list at once. 2003-07-05 15:02:35 +00:00
gdkscreen-x11.c Make monitor boundaries visible in fake Xinerama mode. 2003-11-21 01:02:45 +00:00
gdkscreen-x11.h Add a check for the Xrandr extension. 2002-10-04 15:58:19 +00:00
gdkselection-x11.c Always look up and create the Motif drag window as a child of the root 2002-12-04 19:50:57 +00:00
gdkspawn-x11.c Documentation updates. 2003-12-11 23:52:59 +00:00
gdkvisual-x11.c Return a GdkVisual *, not a GdkVisual **. (#105243) 2003-02-06 19:18:20 +00:00
gdkwindow-x11.c Fix #105497; constify uses of GdkColor. 2004-01-26 20:21:09 +00:00
gdkwindow-x11.h Set the right properties when the window becomes a toplevel. When a window 2003-12-21 16:37:43 +00:00
gdkx.h Rename from _gdk_x11_register_event_type(), added API docs. 2003-12-14 00:28:57 +00:00
gdkxid.c Document 2.2 API additions. 2002-11-28 00:33:17 +00:00
gxid_proto.h Initial revision 1997-11-24 22:37:52 +00:00
Makefile.am Utility functions for multi-screen applications which need to ensure 2003-12-10 13:49:58 +00:00
MwmUtil.h Account for the fact that Xlib expects format == 32 to be a long, even on 1999-02-21 20:55:04 +00:00
xsettings-client.c Use asynchronously _gdk_x11_set_input_focus_safe to avoid having to trap 2003-07-05 01:54:05 +00:00
xsettings-client.h Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann, #72182. 2002-02-23 00:13:17 +00:00
xsettings-common.c Free the setting name. 2002-02-07 04:06:16 +00:00
xsettings-common.h Make gdkx.h the only installed header from gdk/x11. All structures in 2001-09-07 21:50:20 +00:00