[gnome-software] Remove the now-unused GsBox
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Remove the now-unused GsBox
- Date: Mon, 11 Jan 2016 14:12:02 +0000 (UTC)
commit 76cc7240d58f126c657c4331f1182ba14e051b91
Author: Richard Hughes <richard hughsie com>
Date: Mon Jan 11 14:11:51 2016 +0000
Remove the now-unused GsBox
src/Makefile.am | 2 -
src/feature-tile.ui | 8 +-
src/gs-application.c | 3 -
src/gs-box.c | 297 --------------------------------------------------
src/gs-box.h | 42 -------
5 files changed, 1 insertions(+), 351 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 1d93185..35e3553 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -127,8 +127,6 @@ gnome_software_SOURCES = \
gs-first-run-dialog.h \
gs-history-dialog.c \
gs-history-dialog.h \
- gs-box.h \
- gs-box.c \
gs-fixed-size-bin.h \
gs-fixed-size-bin.c \
gs-hiding-box.h \
diff --git a/src/feature-tile.ui b/src/feature-tile.ui
index 6ca72db..78330ec 100644
--- a/src/feature-tile.ui
+++ b/src/feature-tile.ui
@@ -27,7 +27,7 @@
</packing>
</child>
<child>
- <object class="GsBox" id="box">
+ <object class="GtkBox" id="box">
<property name="visible">True</property>
<property name="hexpand">True</property>
<child>
@@ -40,9 +40,6 @@
<class name="featured-image"/>
</style>
</object>
- <packing>
- <property name="relative_size">1.0</property>
- </packing>
</child>
<child>
<object class="GtkBox" id="box2">
@@ -75,9 +72,6 @@
</object>
</child>
</object>
- <packing>
- <property name="relative_size">1.0</property>
- </packing>
</child>
</object>
<packing>
diff --git a/src/gs-application.c b/src/gs-application.c
index f6e6dda..2174864 100644
--- a/src/gs-application.c
+++ b/src/gs-application.c
@@ -37,7 +37,6 @@
#endif
#include "gs-dbus-helper.h"
-#include "gs-box.h"
#include "gs-first-run-dialog.h"
#include "gs-shell.h"
#include "gs-update-monitor.h"
@@ -590,8 +589,6 @@ gs_application_startup (GApplication *application)
{
G_APPLICATION_CLASS (gs_application_parent_class)->startup (application);
- g_type_ensure (GS_TYPE_BOX);
-
g_action_map_add_action_entries (G_ACTION_MAP (application),
actions, G_N_ELEMENTS (actions),
application);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]