summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2006-08-17 19:26:55 +0000
committerMikael Magnusson <mikachu@comhem.se>2006-08-17 19:26:55 +0000
commit1b4ff4e93f8bc312a862d3f08afeb0f4809527ae (patch)
treecc5ed1b11ad1062bea3f1ed1b44e27f8e264b8b2
parenta2f2fefeffc74e93504588f9545507814857723e (diff)
close but not quite
-rw-r--r--openbox/frame.c18
-rw-r--r--openbox/frame.h2
-rw-r--r--openbox/openbox.c2
3 files changed, 0 insertions, 22 deletions
diff --git a/openbox/frame.c b/openbox/frame.c
index 2c495b27..c55ff290 100644
--- a/openbox/frame.c
+++ b/openbox/frame.c
@@ -43,7 +43,6 @@
static void layout_title(ObFrame *self);
static void flash_done(gpointer data);
static gboolean flash_timeout(gpointer data);
-static void flash_client_dest(ObClient *client, gpointer data);
static void set_theme_statics(ObFrame *self);
static void free_theme_statics(ObFrame *self);
@@ -57,18 +56,6 @@ static Window createWindow(Window parent, gulong mask,
}
-void frame_startup(gboolean reconfig)
-{
- if (reconfig) return;
- client_add_destructor(flash_client_dest, NULL);
-}
-
-void frame_shutdown(gboolean reconfig)
-{
- if (reconfig) return;
- client_remove_destructor(flash_client_dest);
-}
-
ObFrame *frame_new()
{
XSetWindowAttributes attrib;
@@ -921,11 +908,6 @@ static gboolean flash_timeout(gpointer data)
return TRUE; /* go again */
}
-static void flash_client_dest(ObClient *client, gpointer data)
-{
- ob_main_loop_timeout_remove_data(ob_main_loop, flash_timeout, client);
-}
-
void frame_flash_start(ObFrame *self)
{
self->flash_on = self->focused;
diff --git a/openbox/frame.h b/openbox/frame.h
index 8c6c256f..d50a2b72 100644
--- a/openbox/frame.h
+++ b/openbox/frame.h
@@ -141,8 +141,6 @@ struct _ObFrame
GTimeVal flash_end;
};
-void frame_startup(gboolean reconfig);
-void frame_shutdown(gboolean reconfig);
ObFrame *frame_new();
void frame_show(ObFrame *self);
void frame_hide(ObFrame *self);
diff --git a/openbox/openbox.c b/openbox/openbox.c
index 46ab370c..6ada770a 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -248,7 +248,6 @@ gint main(gint argc, gchar **argv)
grab_startup(reconfigure);
group_startup(reconfigure);
client_startup(reconfigure);
- frame_startup(reconfigure);
dock_startup(reconfigure);
moveresize_startup(reconfigure);
keyboard_startup(reconfigure);
@@ -285,7 +284,6 @@ gint main(gint argc, gchar **argv)
keyboard_shutdown(reconfigure);
moveresize_shutdown(reconfigure);
dock_shutdown(reconfigure);
- frame_shutdown(reconfigure);
client_shutdown(reconfigure);
group_shutdown(reconfigure);
grab_shutdown(reconfigure);