aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-status-preset-dialog.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-09-07 17:46:12 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-09-07 17:50:47 +0800
commit290a4853102e645d76318e8e09ef45420a6559bc (patch)
treef35da604f566a7e148709707c4a3b863e49066b5 /libempathy-gtk/empathy-status-preset-dialog.c
parent0b6ef5b5eac2633e4c7660c58b2bb6f412dd1a2a (diff)
downloadgsoc2013-empathy-290a4853102e645d76318e8e09ef45420a6559bc.tar
gsoc2013-empathy-290a4853102e645d76318e8e09ef45420a6559bc.tar.gz
gsoc2013-empathy-290a4853102e645d76318e8e09ef45420a6559bc.tar.bz2
gsoc2013-empathy-290a4853102e645d76318e8e09ef45420a6559bc.tar.lz
gsoc2013-empathy-290a4853102e645d76318e8e09ef45420a6559bc.tar.xz
gsoc2013-empathy-290a4853102e645d76318e8e09ef45420a6559bc.tar.zst
gsoc2013-empathy-290a4853102e645d76318e8e09ef45420a6559bc.zip
Remove calls to gtk_dialog_set_has_separator() if building against GTK+ 3
gtk_dialog_set_has_separator() has been removed in GTK+ 3, but can't be removed (or the property's default value changed) in GTK+ 2 without breaking API. This adds a wrapper macro to keep the calls when building against GTK+ 2, and remove them when building against GTK+ 3.
Diffstat (limited to 'libempathy-gtk/empathy-status-preset-dialog.c')
-rw-r--r--libempathy-gtk/empathy-status-preset-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-status-preset-dialog.c b/libempathy-gtk/empathy-status-preset-dialog.c
index 315a750a5..2a5904bfb 100644
--- a/libempathy-gtk/empathy-status-preset-dialog.c
+++ b/libempathy-gtk/empathy-status-preset-dialog.c
@@ -521,7 +521,7 @@ empathy_status_preset_dialog_init (EmpathyStatusPresetDialog *self)
gtk_window_set_title (GTK_WINDOW (self),
_("Edit Custom Messages"));
- gtk_dialog_set_has_separator (GTK_DIALOG (self), FALSE);
+ empathy_dialog_remove_separator (GTK_DIALOG (self));
gtk_dialog_add_button (GTK_DIALOG (self),
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE);