diff options
author | infirit <[email protected]> | 2014-12-17 13:09:12 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-17 13:53:30 +0100 |
commit | 0077af40e5926d19e48413ab22eb21d634de5a64 (patch) | |
tree | f98376156e87cd23b487ffb6826d5d8022f7f6e8 /src/gsm_color_button.c | |
parent | 5dbc8cd3144d70a2b818704d4274ce7289514622 (diff) | |
download | mate-system-monitor-0077af40e5926d19e48413ab22eb21d634de5a64.tar.bz2 mate-system-monitor-0077af40e5926d19e48413ab22eb21d634de5a64.tar.xz |
Gtk3: Rename callback function to reflect changed signal.
Diffstat (limited to 'src/gsm_color_button.c')
-rw-r--r-- | src/gsm_color_button.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gsm_color_button.c b/src/gsm_color_button.c index 9a3cab2..ffcf270 100644 --- a/src/gsm_color_button.c +++ b/src/gsm_color_button.c @@ -445,7 +445,7 @@ render (GtkWidget * widget) /* Handle exposure events for the color picker's drawing area */ #if GTK_CHECK_VERSION(3,0,0) -static gboolean expose_event (GtkWidget * widget, cairo_t * cr, gpointer data) +static gboolean draw (GtkWidget * widget, cairo_t * cr, gpointer data) #else static gboolean expose_event (GtkWidget * widget, GdkEventExpose * event, gpointer data) #endif @@ -657,7 +657,7 @@ gsm_color_button_init (GSMColorButton * color_button) gtk_widget_set_tooltip_text (GTK_WIDGET(color_button), _("Click to set graph colors")); #if GTK_CHECK_VERSION(3,0,0) - g_signal_connect (color_button, "draw", G_CALLBACK (expose_event), color_button); + g_signal_connect (color_button, "draw", G_CALLBACK (draw), color_button); #else g_signal_connect (color_button, "expose-event", G_CALLBACK (expose_event), color_button); #endif |