From caa00774163777f00ea1694bd99e4c749e6fb15a Mon Sep 17 00:00:00 2001 From: monsta Date: Sun, 27 Nov 2016 21:30:01 +0300 Subject: remove useless function --- pluma/pluma-utils.c | 10 ---------- pluma/pluma-utils.h | 2 -- 2 files changed, 12 deletions(-) diff --git a/pluma/pluma-utils.c b/pluma/pluma-utils.c index 887e9ff5..09c7897d 100644 --- a/pluma/pluma-utils.c +++ b/pluma/pluma-utils.c @@ -202,16 +202,6 @@ pluma_utils_menu_position_under_tree_view (GtkMenu *menu, } } -/* FIXME: remove this with gtk 2.12, it has gdk_color_to_string */ -gchar * -pluma_gdk_color_to_string (GdkColor color) -{ - return g_strdup_printf ("#%04x%04x%04x", - color.red, - color.green, - color.blue); -} - GtkWidget * pluma_gtk_button_new_with_stock_icon (const gchar *label, const gchar *stock_id) diff --git a/pluma/pluma-utils.h b/pluma/pluma-utils.h index 066bb438..a73926d2 100644 --- a/pluma/pluma-utils.h +++ b/pluma/pluma-utils.h @@ -64,8 +64,6 @@ void pluma_utils_menu_position_under_tree_view gboolean *push_in, gpointer user_data); -gchar *pluma_gdk_color_to_string (GdkColor color); - GtkWidget *pluma_gtk_button_new_with_stock_icon (const gchar *label, const gchar *stock_id); -- cgit v1.2.1