From 754e77948a22d6570dcb879a8992b05e6e4c113f Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Mon, 15 Jan 2001 22:28:54 +0000 Subject: push/pop the color map (e_shell_folder_title_bar_new): and the visual... 2001-01-15 JP Rosevear * e-shell-folder-title-bar.c (e_shell_folder_title_bar_new): push/pop the color map (e_shell_folder_title_bar_new): and the visual... svn path=/trunk/; revision=7515 --- shell/e-shell-folder-title-bar.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shell/e-shell-folder-title-bar.c') diff --git a/shell/e-shell-folder-title-bar.c b/shell/e-shell-folder-title-bar.c index 788bec2a24..a121b8c747 100644 --- a/shell/e-shell-folder-title-bar.c +++ b/shell/e-shell-folder-title-bar.c @@ -256,7 +256,7 @@ realize (GtkWidget *widget) priv = folder_title_bar->priv; pixmap = make_icon_pixmap (folder_title_bar, priv->icon); - priv->icon_widget = gnome_pixmap_new (pixmap, NULL); + priv->icon_widget = gtk_pixmap_new (pixmap, NULL); gdk_pixmap_unref (pixmap); gtk_widget_show (priv->icon_widget); @@ -419,7 +419,9 @@ e_shell_folder_title_bar_new (void) EShellFolderTitleBar *new; gtk_widget_push_colormap (gdk_rgb_get_cmap ()); + gtk_widget_push_visual (gdk_rgb_get_visual ()); new = gtk_type_new (e_shell_folder_title_bar_get_type ()); + gtk_widget_pop_visual (); gtk_widget_pop_colormap (); e_shell_folder_title_bar_construct (new); -- cgit v1.2.3