Make the default colors const.

2006-04-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtklinkbutton.c: Make the default colors const.
This commit is contained in:
Matthias Clasen 2006-04-03 15:06:41 +00:00 committed by Matthias Clasen
parent 645ccd04fc
commit 0351d5671d
3 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklinkbutton.c: Make the default colors const.
* gtk/gtkuimanager.c: Avoid relocations.
* gtk/gtkxembed.c (_gtk_xembed_message_name): Reduce size of static

View File

@ -1,5 +1,7 @@
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklinkbutton.c: Make the default colors const.
* gtk/gtkuimanager.c: Avoid relocations.
* gtk/gtkxembed.c (_gtk_xembed_message_name): Reduce size of static

View File

@ -99,8 +99,8 @@ static const GtkTargetEntry link_drop_types[] = {
{ "_NETSCAPE_URL", 0, 0 }
};
static GdkColor default_link_color = { 0, 0, 0, 0xeeee };
static GdkColor default_visited_link_color = { 0, 0x5555, 0x1a1a, 0x8b8b };
static const GdkColor default_link_color = { 0, 0, 0, 0xeeee };
static const GdkColor default_visited_link_color = { 0, 0x5555, 0x1a1a, 0x8b8b };
static GtkLinkButtonUriFunc uri_func = NULL;
static gpointer uri_func_data = NULL;