summaryrefslogtreecommitdiff
path: root/pluma
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-27 21:30:01 +0300
committermonsta <[email protected]>2016-11-27 21:30:01 +0300
commitcaa00774163777f00ea1694bd99e4c749e6fb15a (patch)
tree05646c783bac6b1bb176cc9e78d2e1738a57ff0a /pluma
parent49be92055f3f3319b9149b991d5b55a5ba99d453 (diff)
downloadpluma-caa00774163777f00ea1694bd99e4c749e6fb15a.tar.bz2
pluma-caa00774163777f00ea1694bd99e4c749e6fb15a.tar.xz
remove useless function
Diffstat (limited to 'pluma')
-rw-r--r--pluma/pluma-utils.c10
-rw-r--r--pluma/pluma-utils.h2
2 files changed, 0 insertions, 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);