gtk: remove unused IM module query function pointers
Keep symbol validation while avoiding unused typed variables and assignments.
This commit is contained in:
parent
d9ba834357
commit
4c3c551359
1 changed files with 0 additions and 6 deletions
|
|
@ -159,9 +159,6 @@ query_module (const char *dir, const char *name, GString *contents)
|
|||
{
|
||||
void (*list) (const GtkIMContextInfo ***contexts,
|
||||
guint *n_contexts);
|
||||
G_GNUC_UNUSED void (*init) (GTypeModule *type_module);
|
||||
G_GNUC_UNUSED void (*exit) (void);
|
||||
G_GNUC_UNUSED GtkIMContext *(*create) (const gchar *context_id);
|
||||
|
||||
gpointer list_ptr;
|
||||
gpointer init_ptr;
|
||||
|
|
@ -196,9 +193,6 @@ query_module (const char *dir, const char *name, GString *contents)
|
|||
int i;
|
||||
|
||||
list = list_ptr;
|
||||
init = init_ptr;
|
||||
exit = exit_ptr;
|
||||
create = create_ptr;
|
||||
|
||||
print_escaped (contents, path);
|
||||
g_string_append_c (contents, '\n');
|
||||
|
|
|
|||
Loading…
Reference in a new issue