Fix calling functions with wrong number of arguments
This commit is contained in:
parent
93c43114ca
commit
c12d09bde8
6 changed files with 6 additions and 8 deletions
|
@ -27,6 +27,4 @@ void focus_cycle_indicator_shutdown(gboolean reconfig);
|
|||
|
||||
void focus_cycle_draw_indicator(struct _ObClient *c);
|
||||
|
||||
void focus_cycle_stop();
|
||||
|
||||
#endif
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue