use a hash table instead of object data to maintain context ids. Saves
2006-09-01 Sven Neumann <sven@gimp.org> * app/display/gimpstatusbar.c: use a hash table instead of object data to maintain context ids. Saves lots of pointless string copies.
This commit is contained in:

committed by
Sven Neumann

parent
14f3860b96
commit
297f871514
@ -40,12 +40,12 @@ struct _GimpStatusbar
|
||||
{
|
||||
GtkHBox parent_instance;
|
||||
|
||||
GSList *messages;
|
||||
GSList *keys;
|
||||
guint seq_context_id;
|
||||
|
||||
GimpDisplayShell *shell;
|
||||
|
||||
GSList *messages;
|
||||
GHashTable *context_ids;
|
||||
guint seq_context_id;
|
||||
|
||||
gchar cursor_format_str[CURSOR_FORMAT_LENGTH];
|
||||
gchar length_format_str[CURSOR_FORMAT_LENGTH];
|
||||
|
||||
|
Reference in New Issue
Block a user