summaryrefslogtreecommitdiff
path: root/src/sysinfo.cpp
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-17 13:09:12 +0100
committerinfirit <[email protected]>2014-12-17 13:53:30 +0100
commit0077af40e5926d19e48413ab22eb21d634de5a64 (patch)
treef98376156e87cd23b487ffb6826d5d8022f7f6e8 /src/sysinfo.cpp
parent5dbc8cd3144d70a2b818704d4274ce7289514622 (diff)
downloadmate-system-monitor-0077af40e5926d19e48413ab22eb21d634de5a64.tar.bz2
mate-system-monitor-0077af40e5926d19e48413ab22eb21d634de5a64.tar.xz
Gtk3: Rename callback function to reflect changed signal.
Diffstat (limited to 'src/sysinfo.cpp')
-rw-r--r--src/sysinfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysinfo.cpp b/src/sysinfo.cpp
index 00b7724..eaa58b8 100644
--- a/src/sysinfo.cpp
+++ b/src/sysinfo.cpp
@@ -448,7 +448,7 @@ namespace {
#define RADIUS 5
#if GTK_CHECK_VERSION(3,0,0)
-static gboolean sysinfo_logo_expose (GtkWidget *widget, cairo_t *context, gpointer data_ptr)
+static gboolean sysinfo_logo_draw (GtkWidget *widget, cairo_t *context, gpointer data_ptr)
#else
static gboolean sysinfo_logo_expose (GtkWidget *widget, GdkEventExpose *event, gpointer data_ptr)
#endif
@@ -580,7 +580,7 @@ procman_create_sysinfo_view(void)
gtk_box_pack_start(GTK_BOX(hbox), logo, FALSE, FALSE, 0);
#if GTK_CHECK_VERSION(3,0,0)
- g_signal_connect(G_OBJECT(logo), "draw", G_CALLBACK(sysinfo_logo_expose), NULL);
+ g_signal_connect(G_OBJECT(logo), "draw", G_CALLBACK(sysinfo_logo_draw), NULL);
#else
g_signal_connect(G_OBJECT(logo), "expose-event", G_CALLBACK(sysinfo_logo_expose), NULL);
#endif