[gnome-panel] clock: don't subclass deprecated GtkAlignment
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] clock: don't subclass deprecated GtkAlignment
- Date: Tue, 4 Nov 2014 00:10:53 +0000 (UTC)
commit c7ea765c344473366e6e4445bd5288ebe8f90b3d
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Nov 3 21:08:46 2014 +0200
clock: don't subclass deprecated GtkAlignment
applets/clock/clock-location-tile.c | 2 +-
applets/clock/clock-location-tile.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/applets/clock/clock-location-tile.c b/applets/clock/clock-location-tile.c
index e1b21b0..eade1de 100644
--- a/applets/clock/clock-location-tile.c
+++ b/applets/clock/clock-location-tile.c
@@ -17,7 +17,7 @@
#include "clock-marshallers.h"
#include "set-timezone.h"
-G_DEFINE_TYPE (ClockLocationTile, clock_location_tile, GTK_TYPE_ALIGNMENT)
+G_DEFINE_TYPE (ClockLocationTile, clock_location_tile, GTK_TYPE_BIN)
enum {
TILE_PRESSED,
diff --git a/applets/clock/clock-location-tile.h b/applets/clock/clock-location-tile.h
index 0b235ed..c9c0497 100644
--- a/applets/clock/clock-location-tile.h
+++ b/applets/clock/clock-location-tile.h
@@ -19,12 +19,12 @@ G_BEGIN_DECLS
typedef struct
{
- GtkAlignment parent;
+ GtkBin parent;
} ClockLocationTile;
typedef struct
{
- GtkAlignmentClass parent_class;
+ GtkBinClass parent_class;
void (* tile_pressed) (ClockLocationTile *tile);
int (* need_clock_format) (ClockLocationTile *tile);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]