fixed Frequency equal to 0hz & added frequency standard deviation
[lttv.git] / ltt / branches / poly / lttv / modules / gui / controlflow / processlist.c
index b337038508aee49261c15194c77e8cfec63eb9d2..3c9a5dad43590ddab5ba0982f70ddc43f8fed3d5 100644 (file)
@@ -160,6 +160,8 @@ gboolean scroll_event(GtkWidget *widget, GdkEventScroll *event, gpointer data)
       gtk_adjustment_set_value(control_flow_data->v_adjust,
         gtk_adjustment_get_value(control_flow_data->v_adjust) + cell_height);
       break;
+    default:
+      g_error("should only scroll up and down.");
   }
        return TRUE;
 }
@@ -403,10 +405,12 @@ ProcessList *processlist_construct(void)
       NULL,
       &process_list->cell_height);
        
-  //guint ypad;
-  //g_object_get(G_OBJECT(renderer), "ypad", &ypad, NULL);
+#if GTK_CHECK_VERSION(2,4,15)
+  guint ypad;
+  g_object_get(G_OBJECT(renderer), "ypad", &ypad, NULL);
 
-  //process_list->cell_height += ypad;
+  process_list->cell_height += ypad;
+#endif
   process_list->cell_height += vertical_separator;
        
 
This page took 0.022649 seconds and 4 git commands to generate.