epiphany r8665 - trunk/src
- From: xan svn gnome org
- To: svn-commits-list gnome org
- Subject: epiphany r8665 - trunk/src
- Date: Sun, 4 Jan 2009 14:50:04 +0000 (UTC)
Author: xan
Date: Sun Jan 4 14:50:04 2009
New Revision: 8665
URL: http://svn.gnome.org/viewvc/epiphany?rev=8665&view=rev
Log:
ephy-window: g_object_get takes a gpointer as first argument.
Modified:
trunk/src/ephy-window.c
Modified: trunk/src/ephy-window.c
==============================================================================
--- trunk/src/ephy-window.c (original)
+++ trunk/src/ephy-window.c Sun Jan 4 14:50:04 2009
@@ -17,7 +17,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
- * $Id$
*/
#include "config.h"
@@ -1285,7 +1284,7 @@
action = g_object_get_data (G_OBJECT (proxy), "gtk-action");
g_return_if_fail (action != NULL);
- g_object_get (G_OBJECT (action), "tooltip", &message, NULL);
+ g_object_get (action, "tooltip", &message, NULL);
if (message)
{
gtk_statusbar_push (GTK_STATUSBAR (window->priv->statusbar),
@@ -1318,7 +1317,7 @@
action = g_object_get_data (G_OBJECT (item), "gtk-action");
g_return_val_if_fail (action != NULL, FALSE);
- g_object_get (G_OBJECT (action), "tooltip", &message, NULL);
+ g_object_get (action, "tooltip", &message, NULL);
if (message)
{
gtk_statusbar_push (GTK_STATUSBAR (window->priv->statusbar),
@@ -1803,7 +1802,7 @@
guint num_popups = 0;
char *tooltip = NULL;
- g_object_get (G_OBJECT (embed),
+ g_object_get (embed,
"hidden-popup-count", &num_popups,
NULL);
@@ -1838,7 +1837,7 @@
"ViewPopupWindows");
g_return_if_fail (GTK_IS_ACTION (action));
- g_object_get (G_OBJECT (embed), "popups-allowed", &allow, NULL);
+ g_object_get (embed, "popups-allowed", &allow, NULL);
g_signal_handlers_block_by_func
(G_OBJECT (action),
@@ -1909,7 +1908,7 @@
if (window->priv->closing) return;
- g_object_get (G_OBJECT (web_view),
+ g_object_get (web_view,
"zoom-level", &zoom,
NULL);
@@ -3956,7 +3955,7 @@
web_view = EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed);
- g_object_get (G_OBJECT (web_view), "zoom-level", ¤t_zoom, NULL);
+ g_object_get (web_view, "zoom-level", ¤t_zoom, NULL);
if (zoom == ZOOM_IN)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]