| 7 | #include <gnome.h> |
| 8 | |
| 9 | static void |
| 10 | ghack_ask_string_callback(gchar *string, gpointer data) |
| 11 | { |
| 12 | char **user_text = (char **) data; |
| 13 | |
| 14 | g_assert(user_text != NULL); |
| 15 | |
| 16 | *user_text = string; /* note - value must be g_free'd */ |
| 17 | } |
| 18 | |
| 19 | int |
| 20 | ghack_ask_string_dialog(const char *szMessageStr, const char *szDefaultStr, |
nothing calls this directly
no outgoing calls
no test coverage detected