]> granicus.if.org Git - graphviz/commitdiff
Remove unnecessary code
authorerg <devnull@localhost>
Thu, 7 Oct 2010 21:07:13 +0000 (21:07 +0000)
committererg <devnull@localhost>
Thu, 7 Oct 2010 21:07:13 +0000 (21:07 +0000)
cmd/smyrna/gui/menucallbacks.c

index d431f75926b3f3fff997f2be0de0c9e22164d7e1..877c91e577e63b200c29a7bfa5a058933dde27a8 100755 (executable)
@@ -176,10 +176,6 @@ void mShowHostSelectionSlot(GtkWidget * widget, gpointer user_data)
 void mShowConsoleSlot(GtkWidget * widget, gpointer user_data)
 {
     static int state = 0;  // off by default
-    static GtkMenuItem* menui;
-
-    if (menui == NULL)
-       menui = (GtkMenuItem*)glade_xml_get_widget(xml, "show_console1");
 
     if (state) {
        gtk_widget_hide (glade_xml_get_widget(xml, "vbox13"));