mirror of https://github.com/GNOME/gimp.git
app: remove unused function.
gimp_ui_get_dialog() is not used anymore anywhere.
This commit is contained in:
parent
3fb28202f0
commit
6dae2c1d33
|
@ -143,31 +143,6 @@ tool_options_editor_updates (gconstpointer data)
|
|||
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
|
||||
create_new_image_via_dialog (gconstpointer data)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue