[evolution-webcal] GtkObject is gone from GTK+3
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-webcal] GtkObject is gone from GTK+3
- Date: Wed, 6 Oct 2010 22:15:20 +0000 (UTC)
commit bc5f333a125db5bae616562f2e84888d684987b3
Author: Javier Jardón <jjardon gnome org>
Date: Thu Oct 7 00:13:54 2010 +0200
GtkObject is gone from GTK+3
gtk_adjustment_new() returns now a Gtkdjustment*
src/evolution-webcal-notify.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/evolution-webcal-notify.c b/src/evolution-webcal-notify.c
index fa23481..450982a 100644
--- a/src/evolution-webcal-notify.c
+++ b/src/evolution-webcal-notify.c
@@ -217,7 +217,11 @@ void e_webcal_query_user (const gchar * name, const gchar * desc,
const gchar * caluri,
gboolean has_events, gboolean has_tasks) {
EIcalShareDialog * dialog;
+#if GTK_CHECK_VERSION (2,91,0)
+ GtkAdjustment * spinadj;
+#else
GtkObject * spinadj;
+#endif
GtkWidget * tspinb, * combo;
GtkWidget * vbox, * hbox;
GtkWidget * lbox, * wbox, * xbox;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]