From 2669ed43a85b90a73ba535495f39afb96774f010 Mon Sep 17 00:00:00 2001 From: Moritz Lipp Date: Wed, 8 Feb 2012 15:19:51 +0100 Subject: [PATCH] Renamed buffer_changed function --- callbacks.c | 2 +- callbacks.h | 2 +- zathura.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/callbacks.c b/callbacks.c index f72ede2..0be4b81 100644 --- a/callbacks.c +++ b/callbacks.c @@ -24,7 +24,7 @@ cb_destroy(GtkWidget* UNUSED(widget), gpointer UNUSED(data)) } void -buffer_changed(girara_session_t* session) +cb_buffer_changed(girara_session_t* session) { g_return_if_fail(session != NULL); g_return_if_fail(session->global.data != NULL); diff --git a/callbacks.h b/callbacks.h index 4fb9842..79ccaff 100644 --- a/callbacks.h +++ b/callbacks.h @@ -23,7 +23,7 @@ gboolean cb_destroy(GtkWidget* widget, gpointer data); * * @param session The girara session */ -void buffer_changed(girara_session_t* session); +void cb_buffer_changed(girara_session_t* session); /** * This function gets called when the value of the vertical scrollbars diff --git a/zathura.c b/zathura.c index 964bed4..8e3a41c 100644 --- a/zathura.c +++ b/zathura.c @@ -167,7 +167,7 @@ zathura_init(int argc, char* argv[]) } /* girara events */ - zathura->ui.session->events.buffer_changed = buffer_changed; + zathura->ui.session->events.buffer_changed = cb_buffer_changed; /* page view */ zathura->ui.page_widget = gtk_table_new(0, 0, TRUE);