[gimp/gtk3-port: 78/248] libgimpwidgets: #if 0 some unit menu code that needs porting or removal



commit bdfef60e2598aa0807c2de76fc10a6153fb828a2
Author: Michael Natterer <mitch gimp org>
Date:   Tue Oct 19 19:30:04 2010 +0200

    libgimpwidgets: #if 0 some unit menu code that needs porting or removal

 libgimpwidgets/gimpwidgets.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgimpwidgets/gimpwidgets.c b/libgimpwidgets/gimpwidgets.c
index 4900eca..2946457 100644
--- a/libgimpwidgets/gimpwidgets.c
+++ b/libgimpwidgets/gimpwidgets.c
@@ -996,6 +996,7 @@ void
 gimp_unit_menu_update (GtkWidget *widget,
                        gpointer   data)
 {
+#if 0
   GimpUnit  *val = (GimpUnit *) data;
   GtkWidget *spinbutton;
   gint       digits;
@@ -1014,6 +1015,7 @@ gimp_unit_menu_update (GtkWidget *widget,
       gtk_spin_button_set_digits (GTK_SPIN_BUTTON (spinbutton), digits);
       spinbutton = g_object_get_data (G_OBJECT (spinbutton), "set_digits");
     }
+#endif
 }
 
 



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