forked from AuroraMiddleware/gtk
Always NULL out bg_pixmap, even when it used to be None or parent
2002-02-24 Alexander Larsson <alla@lysator.liu.se> * gdk/x11/gdkwindow-x11.c (gdk_window_set_background): Always NULL out bg_pixmap, even when it used to be None or parent relative.
This commit is contained in:
parent
0ca2aa50c6
commit
3e7279cff4
@ -1,3 +1,9 @@
|
||||
2002-02-24 Alexander Larsson <alla@lysator.liu.se>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (gdk_window_set_background):
|
||||
Always NULL out bg_pixmap, even when it used to be None
|
||||
or parent relative.
|
||||
|
||||
2002-02-24 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (parent_class): parent_class variable was
|
||||
|
@ -1,3 +1,9 @@
|
||||
2002-02-24 Alexander Larsson <alla@lysator.liu.se>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (gdk_window_set_background):
|
||||
Always NULL out bg_pixmap, even when it used to be None
|
||||
or parent relative.
|
||||
|
||||
2002-02-24 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (parent_class): parent_class variable was
|
||||
|
@ -1,3 +1,9 @@
|
||||
2002-02-24 Alexander Larsson <alla@lysator.liu.se>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (gdk_window_set_background):
|
||||
Always NULL out bg_pixmap, even when it used to be None
|
||||
or parent relative.
|
||||
|
||||
2002-02-24 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (parent_class): parent_class variable was
|
||||
|
@ -1,3 +1,9 @@
|
||||
2002-02-24 Alexander Larsson <alla@lysator.liu.se>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (gdk_window_set_background):
|
||||
Always NULL out bg_pixmap, even when it used to be None
|
||||
or parent relative.
|
||||
|
||||
2002-02-24 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (parent_class): parent_class variable was
|
||||
|
@ -1,3 +1,9 @@
|
||||
2002-02-24 Alexander Larsson <alla@lysator.liu.se>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (gdk_window_set_background):
|
||||
Always NULL out bg_pixmap, even when it used to be None
|
||||
or parent relative.
|
||||
|
||||
2002-02-24 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (parent_class): parent_class variable was
|
||||
|
@ -1,3 +1,9 @@
|
||||
2002-02-24 Alexander Larsson <alla@lysator.liu.se>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (gdk_window_set_background):
|
||||
Always NULL out bg_pixmap, even when it used to be None
|
||||
or parent relative.
|
||||
|
||||
2002-02-24 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (parent_class): parent_class variable was
|
||||
|
@ -1,3 +1,9 @@
|
||||
2002-02-24 Alexander Larsson <alla@lysator.liu.se>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (gdk_window_set_background):
|
||||
Always NULL out bg_pixmap, even when it used to be None
|
||||
or parent relative.
|
||||
|
||||
2002-02-24 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktextbuffer.c (parent_class): parent_class variable was
|
||||
|
@ -1961,10 +1961,9 @@ gdk_window_set_background (GdkWindow *window,
|
||||
if (private->bg_pixmap &&
|
||||
private->bg_pixmap != GDK_PARENT_RELATIVE_BG &&
|
||||
private->bg_pixmap != GDK_NO_BG)
|
||||
{
|
||||
gdk_pixmap_unref (private->bg_pixmap);
|
||||
private->bg_pixmap = NULL;
|
||||
}
|
||||
gdk_pixmap_unref (private->bg_pixmap);
|
||||
|
||||
private->bg_pixmap = NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user