diff options
Diffstat (limited to 'security/seahorse/files/patch-src_seahorse-viewer.c')
-rw-r--r-- | security/seahorse/files/patch-src_seahorse-viewer.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/security/seahorse/files/patch-src_seahorse-viewer.c b/security/seahorse/files/patch-src_seahorse-viewer.c new file mode 100644 index 000000000000..5acb2e00d676 --- /dev/null +++ b/security/seahorse/files/patch-src_seahorse-viewer.c @@ -0,0 +1,17 @@ +--- src/seahorse-viewer.c.orig 2008-11-23 18:27:49.000000000 -0500 ++++ src/seahorse-viewer.c 2008-11-23 18:28:27.000000000 -0500 +@@ -556,10 +556,13 @@ seahorse_viewer_constructor (GType type, + /* Setup the commands */ + types = seahorse_registry_find_types (seahorse_registry_get (), "commands", NULL, NULL); + for (l = types; l; l = g_list_next (l)) { +- GType typ = GPOINTER_TO_INT (l->data); ++ SeahorseRegistryType *rtype = (SeahorseRegistryType *) l->data; ++ GType typ; + SeahorseCommands *commands; + GtkActionGroup *actions; + const gchar *uidef; ++ ++ typ = rtype->type; + + /* Add each commands to our hash table */ + commands = g_object_new (typ, "view", self, NULL); |