Connect the correct callback

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
Sebastian Ramacher 2013-10-31 14:39:32 +01:00
parent 73e0754d58
commit 3575157cb2

View File

@ -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_signal_connect(G_OBJECT(page_widget), "text-selected",
G_CALLBACK(cb_page_widget_text_selected), zathura); G_CALLBACK(cb_page_widget_text_selected), zathura);
g_signal_connect(G_OBJECT(page_widget), "image-selected", 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 */ /* view mode */