mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
Remove the entire old plug-in interface
This commit is contained in:
parent
7257cc8abc
commit
a351ce9126
75 changed files with 2028 additions and 7393 deletions
|
@ -160,18 +160,10 @@ gimp_display_get_by_id (gint32 display_id)
|
|||
{
|
||||
if (display_id > 0)
|
||||
{
|
||||
GimpPlugIn *plug_in = gimp_get_plug_in ();
|
||||
GimpPlugIn *plug_in = gimp_get_plug_in ();
|
||||
GimpProcedure *procedure = _gimp_plug_in_get_procedure (plug_in);
|
||||
|
||||
if (plug_in)
|
||||
{
|
||||
GimpProcedure *procedure = _gimp_plug_in_get_procedure (plug_in);
|
||||
|
||||
return _gimp_procedure_get_display (procedure, display_id);
|
||||
}
|
||||
|
||||
return g_object_new (GIMP_TYPE_DISPLAY,
|
||||
"id", display_id,
|
||||
NULL);
|
||||
return _gimp_procedure_get_display (procedure, display_id);
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue