app: Have only one GimpDialogFactoryEntry member in GimpSessionInfo
Simplify the code a bit by replacing the 'toplevel_entry' and 'dockable_entry' members in GimpSessionInfo with a single 'factory_entry'. We compensate for this by adding a 'dockable' gboolean to GimpDialogFactoryEntry.
This commit is contained in:
@ -59,9 +59,10 @@ struct _GimpSessionInfo
|
||||
|
||||
GtkWidget *widget;
|
||||
|
||||
/* only one of these is valid */
|
||||
GimpDialogFactoryEntry *toplevel_entry;
|
||||
GimpDialogFactoryEntry *dockable_entry;
|
||||
/* the dialog factory entry for object we have session info for
|
||||
* note that pure "dock" entries don't have any factory entry
|
||||
*/
|
||||
GimpDialogFactoryEntry *factory_entry;
|
||||
|
||||
/* list of GimpSessionInfoBook */
|
||||
GList *books;
|
||||
|
Reference in New Issue
Block a user