From 3575157cb26e77fa483c0765aed65d4e210d853f Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Thu, 31 Oct 2013 14:39:32 +0100 Subject: [PATCH] Connect the correct callback Signed-off-by: Sebastian Ramacher --- zathura.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zathura.c b/zathura.c index 86f3f8e..0c515b7 100644 --- a/zathura.c +++ b/zathura.c @@ -726,7 +726,7 @@ document_open(zathura_t* zathura, const char* path, const char* password, g_signal_connect(G_OBJECT(page_widget), "text-selected", G_CALLBACK(cb_page_widget_text_selected), zathura); g_signal_connect(G_OBJECT(page_widget), "image-selected", - G_CALLBACK(cb_page_widget_text_selected), zathura); + G_CALLBACK(cb_page_widget_image_selected), zathura); } /* view mode */