]> granicus.if.org Git - graphviz/commitdiff
mark attr_value_edited_cb functions as static
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 2 May 2021 02:25:12 +0000 (19:25 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 16 May 2021 16:40:28 +0000 (09:40 -0700)
Both copies of this function are only used within their containing file.

plugin.demo/xgtk/src/gvdevice_xgtk.c
plugin/gtk/gvdevice_gtk.c

index 08fccfaa1dc41efe0723e3a8f5533327b30ca861..1e5fdf1efae3fdf3ceb05cf924f15ba7285b01ac 100644 (file)
@@ -29,7 +29,7 @@
 #include "support.h"
 
 // note that we do not own the newly entered string - must copy
-void
+static void
 attr_value_edited_cb(GtkCellRendererText *renderer, gchar *pathStr, gchar *newText, gpointer data)
 {
        GtkTreeModel *model = GTK_TREE_MODEL(data);
index c2b62d71fadacb4a8e0010bdfe0503a295749de3..a9d8d5322170ea7ed0c883283901ed73ece69265 100644 (file)
@@ -29,7 +29,7 @@
 #include "support.h"
 
 // note that we do not own the newly entered string - must copy
-void
+static void
 attr_value_edited_cb(GtkCellRendererText *renderer, gchar *pathStr, gchar *newText, gpointer data)
 {
        GtkTreeModel *model = GTK_TREE_MODEL(data);