aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-debug-dialog.c
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-06-21 00:27:06 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2009-07-10 20:13:24 +0800
commit7deb4ea20b08eab10473f2620c90f6b896d5af10 (patch)
tree0658af67eae180a741bd65a3e92ffe92e8faf497 /src/empathy-debug-dialog.c
parentfb43069972c8eccefcf1beb28251d1ed23c4a20c (diff)
downloadgsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.tar
gsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.tar.gz
gsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.tar.bz2
gsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.tar.lz
gsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.tar.xz
gsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.tar.zst
gsoc2013-empathy-7deb4ea20b08eab10473f2620c90f6b896d5af10.zip
Use accessor functions instead direct access (Fixes #586476)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'src/empathy-debug-dialog.c')
-rw-r--r--src/empathy-debug-dialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-debug-dialog.c b/src/empathy-debug-dialog.c
index cd0d925f9..9d047bab1 100644
--- a/src/empathy-debug-dialog.c
+++ b/src/empathy-debug-dialog.c
@@ -212,7 +212,7 @@ debug_dialog_set_toolbar_sensitivity (EmpathyDebugDialog *debug_dialog,
gboolean sensitive)
{
EmpathyDebugDialogPriv *priv = GET_PRIV (debug_dialog);
- GtkWidget *vbox = GTK_DIALOG (debug_dialog)->vbox;
+ GtkWidget *vbox = gtk_dialog_get_content_area (GTK_DIALOG (debug_dialog));
gtk_widget_set_sensitive (GTK_WIDGET (priv->save_button), sensitive);
gtk_widget_set_sensitive (GTK_WIDGET (priv->copy_button), sensitive);
@@ -948,7 +948,7 @@ debug_dialog_constructor (GType type,
gtk_window_set_title (GTK_WINDOW (object), _("Debug Window"));
gtk_window_set_default_size (GTK_WINDOW (object), 800, 400);
- vbox = GTK_DIALOG (object)->vbox;
+ vbox = gtk_dialog_get_content_area (GTK_DIALOG (object));
toolbar = gtk_toolbar_new ();
gtk_toolbar_set_style (GTK_TOOLBAR (toolbar), GTK_TOOLBAR_BOTH_HORIZ);