diff options
-rw-r--r-- | src/globals.c | 6 | ||||
-rw-r--r-- | src/globals.h | 2 | ||||
-rw-r--r-- | src/main.c | 1 |
3 files changed, 0 insertions, 9 deletions
diff --git a/src/globals.c b/src/globals.c index 7faff71..1481a5c 100644 --- a/src/globals.c +++ b/src/globals.c @@ -268,12 +268,6 @@ set_window_focus (Window window) LIST_HEAD (rp_frame_undos); LIST_HEAD (rp_frame_redos); -void -init_globals (void) -{ - selection.text = NULL; - selection.len = 0; -} /* Wrapper font functions to support Xft */ diff --git a/src/globals.h b/src/globals.h index 12ccffd..1fb7e0f 100644 --- a/src/globals.h +++ b/src/globals.h @@ -207,8 +207,6 @@ void set_selection (char *txt); void set_nselection (char *txt, int len); char *get_selection (void); -void init_globals (void); - /* Wrapper font functions to support Xft */ void rp_draw_string (rp_screen *s, Drawable d, int style, int x, int y, char *string, int length); @@ -722,7 +722,6 @@ main (int argc, char *argv[]) putenv (xsprintf ("RATPOISON=%s", argv[0])); /* Setup ratpoison's internal structures */ - init_globals (); init_defaults (); init_groups (); init_window_stuff (); |