+2007-02-15 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-page-action-widget.c:
+ * shell/ev-navigation-action.c:
+ * shell/ev-window.c:
+
+ Fix compile warnings.
+
2007-02-15 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/djvu/djvu-text.h:
action->priv->history = history;
g_object_add_weak_pointer (G_OBJECT (action->priv->history),
- (gpointer *) &action->priv->history);
+ (gpointer) &action->priv->history);
}
static void
if (action->priv->history) {
g_object_add_weak_pointer (G_OBJECT (action->priv->history),
- (gpointer *) &action->priv->history);
+ (gpointer) &action->priv->history);
}
G_OBJECT_CLASS (ev_navigation_action_parent_class)->finalize (object);
{
if (action_widget->page_cache != NULL) {
g_object_remove_weak_pointer (G_OBJECT (action_widget->page_cache),
- (gpointer *)&action_widget->page_cache);
+ (gpointer)&action_widget->page_cache);
action_widget->page_cache = NULL;
}
if (page_cache != NULL) {
action_widget->page_cache = page_cache;
g_object_add_weak_pointer (G_OBJECT (page_cache),
- (gpointer *)&action_widget->page_cache);
+ (gpointer)&action_widget->page_cache);
}
}
gtk_window_set_transient_for (GTK_WINDOW (ev_window->priv->password_dialog), GTK_WINDOW (ev_window));
g_object_add_weak_pointer (G_OBJECT (ev_window->priv->password_dialog),
- (gpointer *) &(ev_window->priv->password_dialog));
+ (gpointer) &(ev_window->priv->password_dialog));
g_signal_connect (ev_window->priv->password_dialog,
"response",
G_CALLBACK (password_dialog_response),
ev_properties_dialog_set_document (EV_PROPERTIES_DIALOG (ev_window->priv->properties),
ev_window->priv->document);
g_object_add_weak_pointer (G_OBJECT (ev_window->priv->properties),
- (gpointer *) &(ev_window->priv->properties));
+ (gpointer) &(ev_window->priv->properties));
gtk_window_set_transient_for (GTK_WINDOW (ev_window->priv->properties),
GTK_WINDOW (ev_window));
}