Fix calling functions with wrong number of arguments
authorMikael Magnusson <mikachu@comhem.se>
Tue, 4 Sep 2007 04:22:51 +0000 (06:22 +0200)
committerMikael Magnusson <mikachu@comhem.se>
Tue, 4 Sep 2007 04:23:54 +0000 (06:23 +0200)
openbox/focus_cycle_indicator.h
openbox/focus_cycle_popup.c
openbox/keyboard.c
openbox/moveresize.c
openbox/popup.c
openbox/screen.c

index 8c84f71..28175c7 100644 (file)
@@ -27,6 +27,4 @@ void focus_cycle_indicator_shutdown(gboolean reconfig);
 
 void focus_cycle_draw_indicator(struct _ObClient *c);
 
-void focus_cycle_stop();
-
 #endif
index dbc6504..8ce2c16 100644 (file)
@@ -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);
index 6e45e5c..d80537a 100644 (file)
@@ -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);
 }
 
index 1a8550a..b5a3189 100644 (file)
@@ -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)
index d49148f..aaa7f6f 100644 (file)
@@ -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);
index 7516cfd..04a3b45 100644 (file)
@@ -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) {