]> Dogcows Code - chaz/openbox/blobdiff - openbox/startupnotify.c
ANSI function declarations, ie () -> (void)
[chaz/openbox] / openbox / startupnotify.c
index 3383dd5f16203c389cef89d3a8b2237989cafd63..002bd2dc0521991af7dd9b9b73d9f2de06003eba 100644 (file)
@@ -106,7 +106,7 @@ static SnStartupSequence* sequence_find(const gchar *id)
     return ret;
 }
 
-gboolean sn_app_starting()
+gboolean sn_app_starting(void)
 {
     return sn_waits != NULL;
 }
@@ -243,7 +243,8 @@ void sn_setup_spawn_environment(gchar *program, gchar *name,
 
     sn_launcher_context_set_name(sn_launcher, name ? name : program);
     sn_launcher_context_set_description(sn_launcher, desc);
-    sn_launcher_context_set_icon_name(sn_launcher, icon_name ? icon_name : program);
+    sn_launcher_context_set_icon_name(sn_launcher, icon_name ?
+                                      icon_name : program);
     sn_launcher_context_set_binary_name(sn_launcher, program);
     if (desktop >= 0 && (unsigned) desktop < screen_num_desktops)
         sn_launcher_context_set_workspace(sn_launcher, (signed) desktop);
@@ -263,7 +264,7 @@ void sn_setup_spawn_environment(gchar *program, gchar *name,
     g_free(desc);
 }
 
-void sn_spawn_cancel()
+void sn_spawn_cancel(void)
 {
     sn_launcher_context_complete(sn_launcher);
 }
This page took 0.023022 seconds and 4 git commands to generate.