]> granicus.if.org Git - graphviz/commitdiff
Remove debug statement;
authorerg <devnull@localhost>
Wed, 24 Jun 2009 22:49:16 +0000 (22:49 +0000)
committererg <devnull@localhost>
Wed, 24 Jun 2009 22:49:16 +0000 (22:49 +0000)
add declaration to viewport.h

cmd/smyrna/gui/toolboxcallbacks.c
cmd/smyrna/viewport.h

index a556173aca2e35a105fd70bf2c84aa06d882ea23..99b635dc8ecab19a51957861b8f1d26b752720b9 100755 (executable)
@@ -183,12 +183,12 @@ void write_to_console(char* text)
        gtk_text_buffer_insert (view->consoleText,&iter,text,-1);
        gtk_text_view_set_buffer ((GtkTextView*)glade_xml_get_widget(xml, "consoleText"),view->consoleText);
 }
-extern void switch_graph(int graphId);
+
 void on_btnActivateGraph_clicked(GtkWidget * widget, gpointer user_data)
 {
        int graphId;
        graphId=gtk_combo_box_get_active(view->graphComboBox);
-       printf ("%d\n",graphId);
+       /* fprintf (stderr, "switch to graph %d\n",graphId); */
        switch_graph(graphId);
 }
 
index 4d7cf6bf230860d2a03a0bce2a41be79824ae0c2..060fb7d67e4f2c780cb2fb78e2556f2c3d33254a 100755 (executable)
@@ -26,6 +26,7 @@
 void init_viewport(ViewInfo * view);
 void set_viewport_settings_from_template(ViewInfo * view, Agraph_t *);
 void clear_viewport(ViewInfo * view);
+void switch_graph(int);
 void refreshViewport (int doClear);
 int add_graph_to_viewport_from_file(char *fileName);
 int add_graph_to_viewport(Agraph_t* graph, char*);