[evince] Revert "toolbar-editor: Fix compiler warning"
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Revert "toolbar-editor: Fix compiler warning"
- Date: Fri, 29 Jun 2012 09:17:15 +0000 (UTC)
commit 234303e7fcf00f15e5e59b690b36eaf164c99c85
Author: Christian Persch <chpe gnome org>
Date: Fri Jun 29 11:16:45 2012 +0200
Revert "toolbar-editor: Fix compiler warning"
This reverts commit 3fbe9a1cdb559290fc432edc7be4c7d6ade35e3b, since
it introduces an undeclared dependency on glib 2.33.
cut-n-paste/toolbar-editor/egg-toolbars-model.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/cut-n-paste/toolbar-editor/egg-toolbars-model.c b/cut-n-paste/toolbar-editor/egg-toolbars-model.c
index 0a18ae4..ea1d368 100644
--- a/cut-n-paste/toolbar-editor/egg-toolbars-model.c
+++ b/cut-n-paste/toolbar-editor/egg-toolbars-model.c
@@ -735,9 +735,10 @@ static void
egg_toolbars_model_class_init (EggToolbarsModelClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
+ volatile GType flags_type; /* work around gcc's optimiser */
/* make sure the flags type is known */
- g_type_ensure (EGG_TYPE_TB_MODEL_FLAGS);
+ flags_type = EGG_TYPE_TB_MODEL_FLAGS;
object_class->finalize = egg_toolbars_model_finalize;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]