[gnome-flashback] screencast: rename autogenerated files



commit 8f69a0b02c23674392025644ab831693a996903c
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Mon Sep 14 20:20:07 2015 +0300

    screencast: rename autogenerated files

 gnome-flashback/libscreencast/Makefile.am     |   15 +++----
 gnome-flashback/libscreencast/gf-screencast.c |   52 ++++++++++++------------
 2 files changed, 33 insertions(+), 34 deletions(-)
---
diff --git a/gnome-flashback/libscreencast/Makefile.am b/gnome-flashback/libscreencast/Makefile.am
index d8a4fe0..3baec28 100644
--- a/gnome-flashback/libscreencast/Makefile.am
+++ b/gnome-flashback/libscreencast/Makefile.am
@@ -12,10 +12,9 @@ libscreencast_la_CFLAGS = \
        $(NULL)
 
 libscreencast_la_SOURCES = \
-       flashback-dbus-screencast.c \
-       flashback-dbus-screencast.h \
        gf-screencast.c \
        gf-screencast.h \
+       $(BUILT_SOURCES)
        $(NULL)
 
 libscreencast_la_LDFLAGS = \
@@ -27,19 +26,19 @@ libscreencast_la_LIBADD = \
        $(SCREENCAST_LIBS) \
        $(NULL)
 
-flashback-dbus-screencast.h:
-flashback-dbus-screencast.c: org.gnome.Shell.Screencast.xml
+gf-dbus-screencast.h:
+gf-dbus-screencast.c: org.gnome.Shell.Screencast.xml
        $(AM_V_GEN) gdbus-codegen \
                --interface-prefix org.gnome.Shell. \
-               --c-namespace Flashback \
-               --generate-c-code flashback-dbus-screencast \
+               --c-namespace Gf \
+               --generate-c-code gf-dbus-screencast \
                --annotate "org.gnome.Shell.Screencast" \
                           "org.gtk.GDBus.C.Name" DBusScreencast \
                $(srcdir)/org.gnome.Shell.Screencast.xml
 
 BUILT_SOURCES = \
-       flashback-dbus-screencast.c \
-       flashback-dbus-screencast.h \
+       gf-dbus-screencast.c \
+       gf-dbus-screencast.h \
        $(NULL)
 
 EXTRA_DIST = \
diff --git a/gnome-flashback/libscreencast/gf-screencast.c b/gnome-flashback/libscreencast/gf-screencast.c
index 0488b2d..4d15f5f 100644
--- a/gnome-flashback/libscreencast/gf-screencast.c
+++ b/gnome-flashback/libscreencast/gf-screencast.c
@@ -19,7 +19,7 @@
 
 #include <gtk/gtk.h>
 
-#include "flashback-dbus-screencast.h"
+#include "gf-dbus-screencast.h"
 #include "gf-screencast.h"
 
 #define SCREENCAST_DBUS_NAME "org.gnome.Shell.Screencast"
@@ -36,45 +36,45 @@ struct _GfScreencast
 G_DEFINE_TYPE (GfScreencast, gf_screencast, G_TYPE_OBJECT)
 
 static gboolean
-handle_screencast (FlashbackDBusScreencast *dbus_screencast,
-                   GDBusMethodInvocation   *invocation,
-                   const gchar             *file_template,
-                   GVariant                *options,
-                   gpointer                 user_data)
+handle_screencast (GfDBusScreencast      *dbus_screencast,
+                   GDBusMethodInvocation *invocation,
+                   const gchar           *file_template,
+                   GVariant              *options,
+                   gpointer               user_data)
 {
   g_warning ("screencast: screencast");
-  flashback_dbus_screencast_complete_screencast (dbus_screencast, invocation,
-                                                 FALSE, "");
+  gf_dbus_screencast_complete_screencast (dbus_screencast, invocation,
+                                          FALSE, "");
 
   return TRUE;
 }
 
 static gboolean
-handle_screencast_area (FlashbackDBusScreencast *dbus_screencast,
-                        GDBusMethodInvocation   *invocation,
-                        gint                     x,
-                        gint                     y,
-                        gint                     width,
-                        gint                     height,
-                        const gchar             *file_template,
-                        GVariant                *options,
-                        gpointer                 user_data)
+handle_screencast_area (GfDBusScreencast      *dbus_screencast,
+                        GDBusMethodInvocation *invocation,
+                        gint                   x,
+                        gint                   y,
+                        gint                   width,
+                        gint                   height,
+                        const gchar           *file_template,
+                        GVariant              *options,
+                        gpointer               user_data)
 {
   g_warning ("screencast: screencast-area");
-  flashback_dbus_screencast_complete_screencast_area (dbus_screencast, invocation,
-                                                      FALSE, "");
+  gf_dbus_screencast_complete_screencast_area (dbus_screencast, invocation,
+                                               FALSE, "");
 
   return TRUE;
 }
 
 static gboolean
-handle_stop_screencast (FlashbackDBusScreencast *dbus_screencast,
-                        GDBusMethodInvocation   *invocation,
-                        gpointer                 user_data)
+handle_stop_screencast (GfDBusScreencast      *dbus_screencast,
+                        GDBusMethodInvocation *invocation,
+                        gpointer               user_data)
 {
   g_warning ("screencast: stop-screencast");
-  flashback_dbus_screencast_complete_stop_screencast (dbus_screencast, invocation,
-                                                      TRUE);
+  gf_dbus_screencast_complete_stop_screencast (dbus_screencast, invocation,
+                                               TRUE);
 
   return TRUE;
 }
@@ -86,11 +86,11 @@ name_appeared_handler (GDBusConnection *connection,
                        gpointer         user_data)
 {
   GfScreencast *screencast;
-  FlashbackDBusScreencast *skeleton;
+  GfDBusScreencast *skeleton;
   GError *error;
 
   screencast = GF_SCREENCAST (user_data);
-  skeleton = flashback_dbus_screencast_skeleton_new ();
+  skeleton = gf_dbus_screencast_skeleton_new ();
 
   g_signal_connect (skeleton, "handle-screencast",
                     G_CALLBACK (handle_screencast), screencast);


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