gtranslator r3550 - trunk/src
- From: icq svn gnome org
- To: svn-commits-list gnome org
- Subject: gtranslator r3550 - trunk/src
- Date: Sat, 5 Apr 2008 12:51:51 +0100 (BST)
Author: icq
Date: Sat Apr 5 12:51:51 2008
New Revision: 3550
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3550&view=rev
Log:
2008-04-05 Ignacio Casal Quinteiro <nacho resa gmail com>
* application.{ch}:
* window.c:
Now _gtranslator_application_get_toolbars_model return a G_OBJECT
instead of EggToolbarsModel.
Modified:
trunk/src/ChangeLog
trunk/src/application.c
trunk/src/application.h
trunk/src/window.c
Modified: trunk/src/application.c
==============================================================================
--- trunk/src/application.c (original)
+++ trunk/src/application.c Sat Apr 5 12:51:51 2008
@@ -280,10 +280,10 @@
}
-EggToolbarsModel *
+GObject *
_gtranslator_application_get_toolbars_model (GtranslatorApplication *application)
{
- return application->priv->toolbars_model;
+ return G_OBJECT (application->priv->toolbars_model);
}
void
Modified: trunk/src/application.h
==============================================================================
--- trunk/src/application.h (original)
+++ trunk/src/application.h Sat Apr 5 12:51:51 2008
@@ -23,7 +23,6 @@
#include <glib-object.h>
#include <gtk/gtk.h>
-#include "egg-toolbars-model.h"
#include "window.h"
G_BEGIN_DECLS
@@ -90,7 +89,7 @@
/* Non exported funcs */
-EggToolbarsModel *_gtranslator_application_get_toolbars_model (GtranslatorApplication *application);
+GObject *_gtranslator_application_get_toolbars_model (GtranslatorApplication *application);
void _gtranslator_application_save_toolbars_model (GtranslatorApplication *application);
Modified: trunk/src/window.c
==============================================================================
--- trunk/src/window.c (original)
+++ trunk/src/window.c Sat Apr 5 12:51:51 2008
@@ -1142,7 +1142,7 @@
gtk_window_set_default_size (GTK_WINDOW (dialog), 500, 400);
editor = egg_toolbar_editor_new (window->priv->ui_manager,
- _gtranslator_application_get_toolbars_model (GTR_APP));
+ EGG_TOOLBARS_MODEL (_gtranslator_application_get_toolbars_model (GTR_APP)));
gtk_container_set_border_width (GTK_CONTAINER (editor), 5);
gtk_box_set_spacing (GTK_BOX (EGG_TOOLBAR_EDITOR (editor)), 5);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]