static void gd_update_caption(GtkDisplayState *s)

{

    const char *status = "";

    gchar *title;



    if (!runstate_is_running()) {

        status = " [Stopped]";

    }



    if (qemu_name) {

        title = g_strdup_printf("QEMU (%s)%s", qemu_name, status);

    } else {

        title = g_strdup_printf("QEMU%s", status);

    }



    gtk_window_set_title(GTK_WINDOW(s->window), title);



    g_free(title);

}

static void gd_update_caption(GtkDisplayState *s)

{

    const char *status = "";

    gchar *title;



    if (!runstate_is_running()) {

        status = " [Stopped]";

    }



    if (qemu_name) {

        title = g_strdup_printf("QEMU (%s)%s", qemu_name, status);

    } else {

        title = g_strdup_printf("QEMU%s", status);

    }



    gtk_window_set_title(GTK_WINDOW(s->window), title);



    g_free(title);

}

static void FUNC_0(GtkDisplayState *VAR_0)

{

    const char *VAR_1 = "";

    gchar *title;



    if (!runstate_is_running()) {

        VAR_1 = " [Stopped]";

    }



    if (qemu_name) {

        title = g_strdup_printf("QEMU (%VAR_0)%VAR_0", qemu_name, VAR_1);

    } else {

        title = g_strdup_printf("QEMU%VAR_0", VAR_1);

    }



    gtk_window_set_title(GTK_WINDOW(VAR_0->window), title);



    g_free(title);

}

static void FUNC_0(GtkDisplayState *VAR_0)
{ const char *VAR_1 = ""; gchar *title; if (!runstate_is_running()) { VAR_1 = " [Stopped]"; } if (qemu_name) { title = g_strdup_printf("QEMU (%VAR_0)%VAR_0", qemu_name, VAR_1); } else { title = g_strdup_printf("QEMU%VAR_0", VAR_1); } gtk_window_set_title(GTK_WINDOW(VAR_0->window), title); g_free(title); }