app: remove unused function.

gimp_ui_get_dialog() is not used anymore anywhere.
This commit is contained in:
Jehan 2020-09-21 20:06:20 +02:00
parent 3fb28202f0
commit 6dae2c1d33
1 changed files with 0 additions and 25 deletions

View File

@ -143,31 +143,6 @@ tool_options_editor_updates (gconstpointer data)
tool_info->help_id); tool_info->help_id);
} }
static GtkWidget *
gimp_ui_get_dialog (const gchar *identifier)
{
GtkWidget *result = NULL;
GList *iter;
for (iter = gimp_dialog_factory_get_open_dialogs (gimp_dialog_factory_get_singleton ());
iter;
iter = g_list_next (iter))
{
GtkWidget *dialog = GTK_WIDGET (iter->data);
GimpDialogFactoryEntry *entry = NULL;
gimp_dialog_factory_from_widget (dialog, &entry);
if (strcmp (entry->identifier, identifier) == 0)
{
result = dialog;
break;
}
}
return result;
}
static void static void
create_new_image_via_dialog (gconstpointer data) create_new_image_via_dialog (gconstpointer data)
{ {