[gtk+] widget-factory: Make things compile again



commit fe9301ac1bf272b43ec81dcf7693151d393f5db2
Author: Benjamin Otte <otte redhat com>
Date:   Wed Dec 16 16:28:34 2015 +0100

    widget-factory: Make things compile again
    
    1e1064398c7607d197c563c42f8901ac67982a9f broke the build.
    
    When I run make, I should make sure to run it in the right directory.
    And not in the gtk/ subdirectory that will never build widget-factory...

 demos/widget-factory/widget-factory.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.c b/demos/widget-factory/widget-factory.c
index 5947364..34a307a 100644
--- a/demos/widget-factory/widget-factory.c
+++ b/demos/widget-factory/widget-factory.c
@@ -1671,7 +1671,7 @@ activate (GApplication *app)
   widget = (GtkWidget *)gtk_builder_get_object (builder, "pastebutton");
   g_signal_connect (widget, "clicked", G_CALLBACK (handle_cutcopypaste), widget2);
   g_signal_connect_object (gtk_widget_get_clipboard (widget2, GDK_SELECTION_CLIPBOARD), "owner-change",
-                           G_CALLBACK (clipboard_owner_change), widget);
+                           G_CALLBACK (clipboard_owner_change), widget, 0);
 
   widget = (GtkWidget *)gtk_builder_get_object (builder, "osd_frame");
   widget2 = (GtkWidget *)gtk_builder_get_object (builder, "totem_like_osd");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]