2001-09-09 Alexander Larsson <alla@lysator.liu.se>

* gtk/gtkwidget.c (_gtk_widget_peek_colormap):
	Really return NULL if not set.
	(gtk_widget_init): Remove unused varaible.
This commit is contained in:
Alexander Larsson 2001-09-09 23:25:52 +00:00
parent 3230ecc213
commit ca8cf02089
8 changed files with 50 additions and 9 deletions

View File

@ -1,4 +1,10 @@
2001-09-09 Alexander Larsson <alla@lysator.liu.se>
2001-09-09 Alexander Larsson <alla@lysator.liu.se> 
* gtk/gtkwidget.c (_gtk_widget_peek_colormap):
Really return NULL if not set.
(gtk_widget_init): Remove unused varaible.
2001-09-09 Alexander Larsson <alla@lysator.liu.se> 
* configure.in:
Remove gdk/nanox/Makefile from AC_OUTPUT(), since it is no longer

View File

@ -1,4 +1,10 @@
2001-09-09 Alexander Larsson <alla@lysator.liu.se>
2001-09-09 Alexander Larsson <alla@lysator.liu.se> 
* gtk/gtkwidget.c (_gtk_widget_peek_colormap):
Really return NULL if not set.
(gtk_widget_init): Remove unused varaible.
2001-09-09 Alexander Larsson <alla@lysator.liu.se> 
* configure.in:
Remove gdk/nanox/Makefile from AC_OUTPUT(), since it is no longer

View File

@ -1,4 +1,10 @@
2001-09-09 Alexander Larsson <alla@lysator.liu.se>
2001-09-09 Alexander Larsson <alla@lysator.liu.se> 
* gtk/gtkwidget.c (_gtk_widget_peek_colormap):
Really return NULL if not set.
(gtk_widget_init): Remove unused varaible.
2001-09-09 Alexander Larsson <alla@lysator.liu.se> 
* configure.in:
Remove gdk/nanox/Makefile from AC_OUTPUT(), since it is no longer

View File

@ -1,4 +1,10 @@
2001-09-09 Alexander Larsson <alla@lysator.liu.se>
2001-09-09 Alexander Larsson <alla@lysator.liu.se> 
* gtk/gtkwidget.c (_gtk_widget_peek_colormap):
Really return NULL if not set.
(gtk_widget_init): Remove unused varaible.
2001-09-09 Alexander Larsson <alla@lysator.liu.se> 
* configure.in:
Remove gdk/nanox/Makefile from AC_OUTPUT(), since it is no longer

View File

@ -1,4 +1,10 @@
2001-09-09 Alexander Larsson <alla@lysator.liu.se>
2001-09-09 Alexander Larsson <alla@lysator.liu.se> 
* gtk/gtkwidget.c (_gtk_widget_peek_colormap):
Really return NULL if not set.
(gtk_widget_init): Remove unused varaible.
2001-09-09 Alexander Larsson <alla@lysator.liu.se> 
* configure.in:
Remove gdk/nanox/Makefile from AC_OUTPUT(), since it is no longer

View File

@ -1,4 +1,10 @@
2001-09-09 Alexander Larsson <alla@lysator.liu.se>
2001-09-09 Alexander Larsson <alla@lysator.liu.se> 
* gtk/gtkwidget.c (_gtk_widget_peek_colormap):
Really return NULL if not set.
(gtk_widget_init): Remove unused varaible.
2001-09-09 Alexander Larsson <alla@lysator.liu.se> 
* configure.in:
Remove gdk/nanox/Makefile from AC_OUTPUT(), since it is no longer

View File

@ -1,4 +1,10 @@
2001-09-09 Alexander Larsson <alla@lysator.liu.se>
2001-09-09 Alexander Larsson <alla@lysator.liu.se> 
* gtk/gtkwidget.c (_gtk_widget_peek_colormap):
Really return NULL if not set.
(gtk_widget_init): Remove unused varaible.
2001-09-09 Alexander Larsson <alla@lysator.liu.se> 
* configure.in:
Remove gdk/nanox/Makefile from AC_OUTPUT(), since it is no longer

View File

@ -1229,8 +1229,6 @@ gtk_widget_get_property (GObject *object,
static void
gtk_widget_init (GtkWidget *widget)
{
GdkColormap *colormap;
GTK_PRIVATE_FLAGS (widget) = PRIVATE_GTK_CHILD_VISIBLE;
widget->state = GTK_STATE_NORMAL;
widget->saved_state = GTK_STATE_NORMAL;
@ -5351,6 +5349,7 @@ _gtk_widget_peek_colormap (void)
{
if (colormap_stack)
return (GdkColormap*) colormap_stack->data;
return NULL;
}
static void