gimp r24890 - in branches/weskaggs: . app/widgets



Author: weskaggs
Date: Fri Feb 15 17:41:01 2008
New Revision: 24890
URL: http://svn.gnome.org/viewvc/gimp?rev=24890&view=rev

Log:
Bill Skaggs  <weskaggs primate ucdavis edu>

	* app/widgets/gimptooloptionseditor.c: Remove shadow
	from viewport.


Modified:
   branches/weskaggs/ChangeLog
   branches/weskaggs/app/widgets/gimptooloptionseditor.c

Modified: branches/weskaggs/app/widgets/gimptooloptionseditor.c
==============================================================================
--- branches/weskaggs/app/widgets/gimptooloptionseditor.c	(original)
+++ branches/weskaggs/app/widgets/gimptooloptionseditor.c	Fri Feb 15 17:41:01 2008
@@ -107,6 +107,7 @@
 gimp_tool_options_editor_init (GimpToolOptionsEditor *editor)
 {
   GtkWidget *sw;
+  GtkWidget *viewport;
 
   gtk_widget_set_size_request (GTK_WIDGET (editor), -1, 200);
 
@@ -129,6 +130,10 @@
                                          editor->options_vbox);
   gtk_widget_show (editor->options_vbox);
 
+  viewport = gtk_widget_get_ancestor (editor->options_vbox,
+                                      GTK_TYPE_VIEWPORT);
+  gtk_viewport_set_shadow_type (GTK_VIEWPORT (viewport), GTK_SHADOW_NONE);
+
   editor->save_queue   = NULL;
   editor->save_idle_id = 0;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]