aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-contact-selector-dialog.c7
-rw-r--r--libempathy-gtk/empathy-contact-selector-dialog.h1
2 files changed, 4 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-contact-selector-dialog.c b/libempathy-gtk/empathy-contact-selector-dialog.c
index 955487aec..c52ac6c56 100644
--- a/libempathy-gtk/empathy-contact-selector-dialog.c
+++ b/libempathy-gtk/empathy-contact-selector-dialog.c
@@ -48,7 +48,6 @@ typedef struct _EmpathyContactSelectorDialogPriv \
EmpathyContactSelectorDialogPriv;
struct _EmpathyContactSelectorDialogPriv {
- GtkWidget *table_contact;
GtkWidget *account_chooser;
GtkWidget *entry_id;
EmpathyContactManager *contact_manager;
@@ -247,7 +246,7 @@ empathy_contact_selector_dialog_init (EmpathyContactSelectorDialog *dialog)
filename = empathy_file_lookup ("empathy-contact-selector-dialog.ui",
"libempathy-gtk");
gui = empathy_builder_get_file (filename,
- "table_contact", &priv->table_contact,
+ "table_contact", &dialog->table_contact,
"entry_id", &priv->entry_id,
NULL);
g_free (filename);
@@ -257,7 +256,7 @@ empathy_contact_selector_dialog_init (EmpathyContactSelectorDialog *dialog)
NULL);
content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
- gtk_container_add (GTK_CONTAINER (content_area), priv->table_contact);
+ gtk_container_add (GTK_CONTAINER (content_area), dialog->table_contact);
gtk_dialog_add_button (GTK_DIALOG (dialog),
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
@@ -295,7 +294,7 @@ empathy_contact_selector_dialog_init (EmpathyContactSelectorDialog *dialog)
/* Create account chooser */
priv->account_chooser = empathy_account_chooser_new ();
- gtk_table_attach_defaults (GTK_TABLE (priv->table_contact),
+ gtk_table_attach_defaults (GTK_TABLE (dialog->table_contact),
priv->account_chooser,
1, 2, 0, 1);
empathy_account_chooser_set_filter (
diff --git a/libempathy-gtk/empathy-contact-selector-dialog.h b/libempathy-gtk/empathy-contact-selector-dialog.h
index b44dbd5b1..0f5279946 100644
--- a/libempathy-gtk/empathy-contact-selector-dialog.h
+++ b/libempathy-gtk/empathy-contact-selector-dialog.h
@@ -46,6 +46,7 @@ struct _EmpathyContactSelectorDialog {
/* protected fields */
GtkWidget *button_action;
+ GtkWidget *table_contact;
};
GType empathy_contact_selector_dialog_get_type (void);