From: Mikael Magnusson Date: Tue, 4 Sep 2007 04:22:51 +0000 (+0200) Subject: Fix calling functions with wrong number of arguments X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=c12d09bde85e40fdfbb36225a1b596b5f27c2335;p=chaz%2Fopenbox Fix calling functions with wrong number of arguments --- diff --git a/openbox/focus_cycle_indicator.h b/openbox/focus_cycle_indicator.h index 8c84f71a..28175c75 100644 --- a/openbox/focus_cycle_indicator.h +++ b/openbox/focus_cycle_indicator.h @@ -27,6 +27,4 @@ void focus_cycle_indicator_shutdown(gboolean reconfig); void focus_cycle_draw_indicator(struct _ObClient *c); -void focus_cycle_stop(); - #endif diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c index dbc65042..8ce2c161 100644 --- a/openbox/focus_cycle_popup.c +++ b/openbox/focus_cycle_popup.c @@ -96,7 +96,7 @@ void focus_cycle_popup_startup(gboolean reconfig) { XSetWindowAttributes attrib; - single_popup = icon_popup_new(TRUE); + single_popup = icon_popup_new(); popup.obwin.type = Window_Internal; popup.a_bg = RrAppearanceCopy(ob_rr_theme->osd_hilite_bg); diff --git a/openbox/keyboard.c b/openbox/keyboard.c index 6e45e5c4..d80537a6 100644 --- a/openbox/keyboard.c +++ b/openbox/keyboard.c @@ -267,7 +267,7 @@ void keyboard_event(ObClient *client, const XEvent *e) void keyboard_startup(gboolean reconfig) { grab_keys(TRUE); - popup = popup_new(FALSE); + popup = popup_new(); popup_set_text_align(popup, RR_JUSTIFY_CENTER); } diff --git a/openbox/moveresize.c b/openbox/moveresize.c index 1a8550a9..b5a31893 100644 --- a/openbox/moveresize.c +++ b/openbox/moveresize.c @@ -77,7 +77,7 @@ static void client_dest(ObClient *client, gpointer data) void moveresize_startup(gboolean reconfig) { - popup = popup_new(FALSE); + popup = popup_new(); popup_set_text_align(popup, RR_JUSTIFY_CENTER); if (!reconfig) diff --git a/openbox/popup.c b/openbox/popup.c index d49148ff..aaa7f6fd 100644 --- a/openbox/popup.c +++ b/openbox/popup.c @@ -320,7 +320,7 @@ ObIconPopup *icon_popup_new() ObIconPopup *self; self = g_new0(ObIconPopup, 1); - self->popup = popup_new(TRUE); + self->popup = popup_new(); self->a_icon = RrAppearanceCopy(ob_rr_theme->a_clear_tex); self->icon = XCreateWindow(ob_display, self->popup->bg, 0, 0, 1, 1, 0, @@ -478,7 +478,7 @@ ObPagerPopup *pager_popup_new() ObPagerPopup *self; self = g_new(ObPagerPopup, 1); - self->popup = popup_new(TRUE); + self->popup = popup_new(); self->desks = 0; self->wins = g_new(Window, self->desks); diff --git a/openbox/screen.c b/openbox/screen.c index 7516cfd9..04a3b452 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -344,7 +344,7 @@ void screen_startup(gboolean reconfig) guint32 d; gboolean namesexist = FALSE; - desktop_popup = pager_popup_new(FALSE); + desktop_popup = pager_popup_new(); pager_popup_height(desktop_popup, POPUP_HEIGHT); if (reconfig) {