aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/color_utils.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-12-31 17:12:15 -0800
committerGuy Harris <guy@alum.mit.edu>2016-01-01 01:12:56 +0000
commitaaa5ed4ad73ca537e3cd1a45ce7b8bb10371b822 (patch)
tree4d59502ab97968e67ac05c140b0ebcf0259de15f /ui/gtk/color_utils.h
parent44eda0c64e7365196aed5f2166b33baaac16a45f (diff)
No, you don't have to allocate colors.
That code's been unused since at least 1.12, so apparently it's not needed. To the extent that it needs to be allocated at all - which is the case only if a colormap is being used - it's apparently all done under the covers. Change-Id: Ib25bfba618b0af4a60ce991a974de1e3f2f89158 Reviewed-on: https://code.wireshark.org/review/12981 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/gtk/color_utils.h')
-rw-r--r--ui/gtk/color_utils.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/ui/gtk/color_utils.h b/ui/gtk/color_utils.h
index 15bddaef8d..1f8fcf2ec9 100644
--- a/ui/gtk/color_utils.h
+++ b/ui/gtk/color_utils.h
@@ -30,18 +30,6 @@
* Definitions for color structures and routines
*/
-/** Initialize the colors. */
-void colors_init(void);
-
-#if 0
-/** Allocate a color from the color map.
- *
- * @param new_color the new color
- * @return TRUE if the allocation succeeded
- */
-gboolean get_color(GdkColor *new_color);
-#endif
-
/** Convert color_t to GdkColor.
*
* @param target the GdkColor to be filled