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



commit cee93c40e64a9cacc505f7edbcfb0377f9c9394b
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 4072b3b..b48ad31 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]