Browse files

Add window title to GTK UI

  • Loading branch information...
1 parent 145004c commit d4d2e47ecd33bd793a446bab67db2347d6b520b2 @alexp-sssup alexp-sssup committed Jun 14, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main.cpp
View
1 src/main.cpp
@@ -263,6 +263,7 @@ int main(int argc, char* argv[])
gdk_threads_enter();
//Create the main window
GtkWidget* window=gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_title((GtkWindow*)window,"Lightspark");
g_signal_connect(window,"destroy",G_CALLBACK(StandaloneDestroy),NULL);
GtkWidget* socket=gtk_socket_new();
gtk_container_add(GTK_CONTAINER(window), socket);

0 comments on commit d4d2e47

Please sign in to comment.