[anjuta] libanjuta: avoid deprecated gtk macros in anjuta-tabber.c
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] libanjuta: avoid deprecated gtk macros in anjuta-tabber.c
- Date: Sun, 11 Apr 2010 19:52:41 +0000 (UTC)
commit 7314ceaeb9277e6230786e92836997ba5b5e1e5e
Author: Johannes Schmid <jhs gnome org>
Date: Sun Apr 11 21:52:22 2010 +0200
libanjuta: avoid deprecated gtk macros in anjuta-tabber.c
These were actually copied from GtkNotebook which wasn't fixed yet.
.gitignore | 64 +--------------------------------------------
libanjuta/anjuta-tabber.c | 8 +++---
2 files changed, 5 insertions(+), 67 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d69cf0d..a92530c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,76 +36,14 @@
/intltool-update
/intltool-update.in
/libtool
+/po/*.gmo
/po/*.mo
/po/.intltool-merge-cache
/po/Makefile
/po/Makefile.in
/po/Makefile.in.in
/po/POTFILES
-/po/ar.gmo
-/po/az.gmo
-/po/be.gmo
-/po/be latin gmo
-/po/bg.gmo
-/po/ca.gmo
-/po/ca valencia gmo
-/po/cs.gmo
-/po/da.gmo
-/po/de.gmo
-/po/dz.gmo
-/po/el.gmo
-/po/en_CA.gmo
-/po/en_GB.gmo
-/po/es.gmo
-/po/eu.gmo
-/po/fi.gmo
-/po/fr.gmo
-/po/ga.gmo
-/po/gl.gmo
-/po/gu.gmo
-/po/he.gmo
-/po/hi.gmo
-/po/hr.gmo
-/po/hu.gmo
-/po/id.gmo
-/po/it.gmo
-/po/ja.gmo
-/po/kn.gmo
-/po/ko.gmo
-/po/lt.gmo
-/po/lv.gmo
-/po/mai.gmo
-/po/mk.gmo
-/po/ml.gmo
-/po/mr.gmo
-/po/ms.gmo
-/po/nb.gmo
-/po/ne.gmo
-/po/nl.gmo
-/po/oc.gmo
-/po/or.gmo
-/po/pa.gmo
-/po/pl.gmo
-/po/pt.gmo
-/po/pt_BR.gmo
-/po/ru.gmo
-/po/rw.gmo
-/po/si.gmo
-/po/sk.gmo
-/po/sl.gmo
-/po/sq.gmo
-/po/sr.gmo
-/po/sr latin gmo
/po/stamp-it
-/po/sv.gmo
-/po/te.gmo
-/po/th.gmo
-/po/tr.gmo
-/po/uk.gmo
-/po/vi.gmo
-/po/zh_CN.gmo
-/po/zh_HK.gmo
-/po/zh_TW.gmo
/so_locations
/stamp-h1
/tags
diff --git a/libanjuta/anjuta-tabber.c b/libanjuta/anjuta-tabber.c
index 57d53ef..0753865 100644
--- a/libanjuta/anjuta-tabber.c
+++ b/libanjuta/anjuta-tabber.c
@@ -48,7 +48,7 @@ anjuta_tabber_init (AnjutaTabber *object)
tabber->priv->children = NULL;
tabber->priv->active_page = 0;
- GTK_WIDGET_SET_FLAGS (GTK_WIDGET(tabber), GTK_NO_WINDOW);
+ gtk_widget_set_has_window (GTK_WIDGET(tabber), FALSE);
}
static void
@@ -337,7 +337,7 @@ anjuta_tabber_realize (GtkWidget *widget)
GtkAllocation allocation;
AnjutaTabber* tabber = ANJUTA_TABBER (widget);
- GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
+ gtk_widget_set_realized (widget, TRUE);
widget->window = gtk_widget_get_parent_window (widget);
g_object_ref (widget->window);
@@ -375,7 +375,7 @@ static void
anjuta_tabber_map (GtkWidget* widget)
{
AnjutaTabber* tabber = ANJUTA_TABBER (widget);
- GTK_WIDGET_SET_FLAGS (widget, GTK_MAPPED);
+ gtk_widget_set_mapped (widget, TRUE);
gdk_window_show_unraised (tabber->priv->event_window);
@@ -386,8 +386,8 @@ static void
anjuta_tabber_unmap (GtkWidget* widget)
{
AnjutaTabber* tabber = ANJUTA_TABBER (widget);
- GTK_WIDGET_UNSET_FLAGS (widget, GTK_MAPPED);
+ gtk_widget_set_mapped (widget, FALSE);
gdk_window_hide (tabber->priv->event_window);
GTK_WIDGET_CLASS (anjuta_tabber_parent_class)->unmap (widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]