epiphany r7991 - trunk/lib/egg
- From: jensg svn gnome org
- To: svn-commits-list gnome org
- Subject: epiphany r7991 - trunk/lib/egg
- Date: Tue, 26 Feb 2008 21:12:46 +0000 (GMT)
Author: jensg
Date: Tue Feb 26 21:12:46 2008
New Revision: 7991
URL: http://svn.gnome.org/viewvc/epiphany?rev=7991&view=rev
Log:
Declare variable at the beginning of the function to fix build with
compilers that only understand C89. Bug #518890.
Modified:
trunk/lib/egg/egg-toolbar-editor.c
Modified: trunk/lib/egg/egg-toolbar-editor.c
==============================================================================
--- trunk/lib/egg/egg-toolbar-editor.c (original)
+++ trunk/lib/egg/egg-toolbar-editor.c Tue Feb 26 21:12:46 2008
@@ -174,10 +174,12 @@
egg_toolbar_editor_set_model (EggToolbarEditor *t,
EggToolbarsModel *model)
{
+ EggToolbarEditorPrivate *priv;
+
g_return_if_fail (EGG_IS_TOOLBAR_EDITOR (t));
g_return_if_fail (model != NULL);
- EggToolbarEditorPrivate *priv = t->priv;
+ priv = t->priv;
if (priv->model)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]