Commit 52c63f19 authored by Anders Carlsson's avatar Anders Carlsson Committed by Anders Carlsson

Reduce flicker by setting the back pixmap to NULL on realize.

2000-06-02  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-extensions/nautilus-icon-container.c (realize):
	Reduce flicker by setting the back pixmap to NULL on realize.
parent 39a8ece4
2000-06-02 Anders Carlsson <andersca@gnu.org>
* libnautilus-extensions/nautilus-icon-container.c (realize):
Reduce flicker by setting the back pixmap to NULL on realize.
2000-06-02 John Sullivan <sullivan@eazel.com>
Finished task 968 (Add one-time viewer choice to "View as"
......
......@@ -1709,6 +1709,10 @@ realize (GtkWidget *widget)
(GTK_LAYOUT (widget)->bin_window,
&widget->style->bg[GTK_STATE_NORMAL]);
/* reduce flicker when scrolling by setting the back pixmap to NULL */
gdk_window_set_back_pixmap (GTK_LAYOUT (widget)->bin_window,
NULL, FALSE);
/* make us the focused widget */
g_assert (GTK_IS_WINDOW (gtk_widget_get_toplevel (widget)));
window = GTK_WINDOW (gtk_widget_get_toplevel (widget));
......
......@@ -1709,6 +1709,10 @@ realize (GtkWidget *widget)
(GTK_LAYOUT (widget)->bin_window,
&widget->style->bg[GTK_STATE_NORMAL]);
/* reduce flicker when scrolling by setting the back pixmap to NULL */
gdk_window_set_back_pixmap (GTK_LAYOUT (widget)->bin_window,
NULL, FALSE);
/* make us the focused widget */
g_assert (GTK_IS_WINDOW (gtk_widget_get_toplevel (widget)));
window = GTK_WINDOW (gtk_widget_get_toplevel (widget));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment