]> www.fi.muni.cz Git - evince.git/commitdiff
[libmisc] Don't sigsegv when a page is manually entered
authorMarek Kasik <mkasik@redhat.com>
Wed, 21 Jul 2010 15:19:06 +0000 (17:19 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Wed, 4 Aug 2010 06:46:35 +0000 (08:46 +0200)
Create signal "activate_link" in EvPageActionWidget correctly.
Fixes bug #624936.

libmisc/ev-page-action-widget.c

index bb8ef2e79c56808d9d65565cfe9ea7b1c7411413..2bc74e603024c5a247bc8cfbeadea4542e22872d 100644 (file)
@@ -271,7 +271,7 @@ ev_page_action_widget_class_init (EvPageActionWidgetClass *class)
                g_signal_new ("activate_link",
                              G_OBJECT_CLASS_TYPE (object_class),
                              G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
-                             G_STRUCT_OFFSET (EvPageActionClass, activate_link),
+                             G_STRUCT_OFFSET (EvPageActionWidgetClass, activate_link),
                              NULL, NULL,
                              g_cclosure_marshal_VOID__OBJECT,
                              G_TYPE_NONE, 1,