[gnome-control-center/gbsneto/background: 11/19] background: Remove CcBackgroundChooserDialog



commit 214f03750b8f0fc9c7c446f77b28388247605033
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed May 22 16:27:11 2019 -0300

    background: Remove CcBackgroundChooserDialog
    
    It's functionality moved to CcBackgroundChooser.

 panels/background/cc-background-chooser-dialog.c | 608 -----------------------
 panels/background/cc-background-chooser-dialog.h |  38 --
 panels/background/cc-background-panel.c          |   1 -
 panels/background/meson.build                    |  26 +-
 panels/background/test-chooser-dialog.c          |  37 --
 5 files changed, 2 insertions(+), 708 deletions(-)
---
diff --git a/panels/background/cc-background-panel.c b/panels/background/cc-background-panel.c
index 47f632247..3f0a4416b 100644
--- a/panels/background/cc-background-panel.c
+++ b/panels/background/cc-background-panel.c
@@ -30,7 +30,6 @@
 #include "cc-background-panel.h"
 
 #include "cc-background-chooser.h"
-#include "cc-background-chooser-dialog.h"
 #include "cc-background-item.h"
 #include "cc-background-resources.h"
 #include "cc-background-xml.h"
diff --git a/panels/background/meson.build b/panels/background/meson.build
index 3dbe86107..2585808eb 100644
--- a/panels/background/meson.build
+++ b/panels/background/meson.build
@@ -78,10 +78,10 @@ sources = common_sources + files(
   'bg-source.c',
   'bg-wallpapers-source.c',
   'cc-background-chooser.c',
-  'cc-background-chooser-dialog.c',
   'cc-background-grilo-miner.c',
   'cc-background-item.c',
-  'cc-background-xml.c'
+  'cc-background-panel.c',
+  'cc-background-xml.c',
 )
 
 deps = common_deps + [
@@ -99,32 +99,10 @@ cflags += [
   '-DGNOME_DESKTOP_USE_UNSTABLE_API'
 ]
 
-libbackground_chooser = static_library(
-  cappletname + '-chooser',
-  sources: sources,
-  include_directories: top_inc,
-  dependencies: deps,
-  c_args: cflags
-)
-
-sources = common_sources + files('cc-background-panel.c')
-
 panels_libs += static_library(
   cappletname,
   sources: sources,
   include_directories: top_inc,
   dependencies: deps,
   c_args: cflags,
-  link_with: libbackground_chooser
-)
-
-test_name = 'test-chooser-dialog'
-
-executable(
-  test_name,
-  test_name + '.c',
-  include_directories: top_inc,
-  dependencies: deps,
-  c_args: cflags,
-  link_with: libbackground_chooser
 )


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