[evince] [libmisc] Don't sigsegv when a page is manually entered



commit a92e759b115e7ee71b336f382cc41ec0e1ad3e6d
Author: Marek Kasik <mkasik redhat com>
Date:   Wed Jul 21 17:19:06 2010 +0200

    [libmisc] Don't sigsegv when a page is manually entered
    
    Create signal "activate_link" in EvPageActionWidget correctly.
    Fixes bug #624936.

 libmisc/ev-page-action-widget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libmisc/ev-page-action-widget.c b/libmisc/ev-page-action-widget.c
index bb8ef2e..2bc74e6 100644
--- a/libmisc/ev-page-action-widget.c
+++ b/libmisc/ev-page-action-widget.c
@@ -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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]