From: Matthew Fernandez Date: Sun, 2 May 2021 02:25:12 +0000 (-0700) Subject: mark attr_value_edited_cb functions as static X-Git-Tag: 2.47.2~7^2~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9e23fcc5e247511170e28f7c49d707642c038300;p=graphviz mark attr_value_edited_cb functions as static Both copies of this function are only used within their containing file. --- diff --git a/plugin.demo/xgtk/src/gvdevice_xgtk.c b/plugin.demo/xgtk/src/gvdevice_xgtk.c index 08fccfaa1..1e5fdf1ef 100644 --- a/plugin.demo/xgtk/src/gvdevice_xgtk.c +++ b/plugin.demo/xgtk/src/gvdevice_xgtk.c @@ -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); diff --git a/plugin/gtk/gvdevice_gtk.c b/plugin/gtk/gvdevice_gtk.c index c2b62d71f..a9d8d5322 100644 --- a/plugin/gtk/gvdevice_gtk.c +++ b/plugin/gtk/gvdevice_gtk.c @@ -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);