[gnome-calendar] project: remove GbScrolledWindow
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] project: remove GbScrolledWindow
- Date: Fri, 17 Jun 2016 21:19:08 +0000 (UTC)
commit 33c7031164ab92f59442bf645702bc89ae0e6bbf
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Jun 17 18:18:38 2016 -0300
project: remove GbScrolledWindow
The max-content-height property was ported to GtkScrolledWindow,
which means we don't have to use a custom class anymore.
configure.ac | 2 +-
data/ui/window.ui | 5 +-
src/Makefile.am | 2 -
src/gb-scrolled-window.c | 280 ----------------------------------------------
src/gb-scrolled-window.h | 39 -------
5 files changed, 3 insertions(+), 325 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8ccc234..3dfe4cd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,7 +94,7 @@ MAINTAINER_COMPILER_FLAGS=${MAINTAINER_COMPILER_FLAGS#* }
AC_SUBST(MAINTAINER_COMPILER_FLAGS)
GLIB_MIN_VERSION=2.43.4
-GTK_MIN_VERSION=3.19.1
+GTK_MIN_VERSION=3.21.1
ECAL_REQUIRED=3.13.90
EDATASERVER_REQUIRED=3.17.1
EDATASERVERUI_REQUIRED=3.17.1
diff --git a/data/ui/window.ui b/data/ui/window.ui
index 41a4b81..12cbf33 100644
--- a/data/ui/window.ui
+++ b/data/ui/window.ui
@@ -291,11 +291,10 @@
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
- <object class="GbScrolledWindow">
+ <object class="GtkScrolledWindow">
<property name="visible">True</property>
<property name="hscrollbar_policy">never</property>
- <property name="min_content_height">80</property>
- <property name="max_content_height">500</property>
+ <property name="max_content_height">450</property>
<child>
<object class="GtkListBox" id="calendar_listbox">
<property name="visible">True</property>
diff --git a/src/Makefile.am b/src/Makefile.am
index 597184d..3b5f79f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -20,8 +20,6 @@ BUILT_SOURCES = \
gnome_calendar_SOURCES = \
$(BUILT_SOURCES) \
- gb-scrolled-window.h \
- gb-scrolled-window.c \
e-cal-data-model-subscriber.h \
e-cal-data-model-subscriber.c \
e-cal-data-model.h \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]