aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-02-03 18:04:55 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-02-03 18:04:55 +0800
commit028b73a7c053c8a53de8153030ea225bd31bac7d (patch)
treed578db265c771415aa675928d4f4d8ff8645daa5
parentca97f4b5e39414b564aeaebb88dca517b4404f9a (diff)
downloadgsoc2013-empathy-028b73a7c053c8a53de8153030ea225bd31bac7d.tar
gsoc2013-empathy-028b73a7c053c8a53de8153030ea225bd31bac7d.tar.gz
gsoc2013-empathy-028b73a7c053c8a53de8153030ea225bd31bac7d.tar.bz2
gsoc2013-empathy-028b73a7c053c8a53de8153030ea225bd31bac7d.tar.lz
gsoc2013-empathy-028b73a7c053c8a53de8153030ea225bd31bac7d.tar.xz
gsoc2013-empathy-028b73a7c053c8a53de8153030ea225bd31bac7d.tar.zst
gsoc2013-empathy-028b73a7c053c8a53de8153030ea225bd31bac7d.zip
Fix naming of macros to be consistent with the class name
svn path=/trunk/; revision=2418
-rw-r--r--libempathy-gtk/empathy-video-widget.c6
-rw-r--r--libempathy-gtk/empathy-video-widget.h16
2 files changed, 11 insertions, 11 deletions
diff --git a/libempathy-gtk/empathy-video-widget.c b/libempathy-gtk/empathy-video-widget.c
index c92f6fe00..f2465854b 100644
--- a/libempathy-gtk/empathy-video-widget.c
+++ b/libempathy-gtk/empathy-video-widget.c
@@ -71,7 +71,7 @@ struct _EmpathyVideoWidgetPriv
};
#define GET_PRIV(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), \
- EMPATHY_TYPE_GST_GTK_WIDGET, EmpathyVideoWidgetPriv))
+ EMPATHY_TYPE_VIDEO_WIDGET, EmpathyVideoWidgetPriv))
static void
empathy_video_widget_init (EmpathyVideoWidget *obj)
@@ -320,7 +320,7 @@ empathy_video_widget_new_with_size (GstBus *bus, gint width, gint height)
{
g_return_val_if_fail (bus != NULL, NULL);
- return GTK_WIDGET (g_object_new (EMPATHY_TYPE_GST_GTK_WIDGET,
+ return GTK_WIDGET (g_object_new (EMPATHY_TYPE_VIDEO_WIDGET,
"gst-bus", bus,
"min-width", width,
"min-height", height,
@@ -332,7 +332,7 @@ empathy_video_widget_new (GstBus *bus)
{
g_return_val_if_fail (bus != NULL, NULL);
- return GTK_WIDGET (g_object_new (EMPATHY_TYPE_GST_GTK_WIDGET,
+ return GTK_WIDGET (g_object_new (EMPATHY_TYPE_VIDEO_WIDGET,
"gst-bus", bus,
NULL));
}
diff --git a/libempathy-gtk/empathy-video-widget.h b/libempathy-gtk/empathy-video-widget.h
index ed7ed5be5..08acdaa71 100644
--- a/libempathy-gtk/empathy-video-widget.h
+++ b/libempathy-gtk/empathy-video-widget.h
@@ -41,20 +41,20 @@ struct _EmpathyVideoWidget {
GType empathy_video_widget_get_type (void);
/* TYPE MACROS */
-#define EMPATHY_TYPE_GST_GTK_WIDGET \
+#define EMPATHY_TYPE_VIDEO_WIDGET \
(empathy_video_widget_get_type())
#define EMPATHY_VIDEO_WIDGET(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), EMPATHY_TYPE_GST_GTK_WIDGET, \
+ (G_TYPE_CHECK_INSTANCE_CAST((obj), EMPATHY_TYPE_VIDEO_WIDGET, \
EmpathyVideoWidget))
#define EMPATHY_VIDEO_WIDGET_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), EMPATHY_TYPE_GST_GTK_WIDGET, \
+ (G_TYPE_CHECK_CLASS_CAST((klass), EMPATHY_TYPE_VIDEO_WIDGET, \
EmpathyVideoWidgetClass))
-#define EMPATHY_IS_GST_GTK_WIDGET(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), EMPATHY_TYPE_GST_GTK_WIDGET))
-#define EMPATHY_IS_GST_GTK_WIDGET_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE((klass), EMPATHY_TYPE_GST_GTK_WIDGET))
+#define EMPATHY_IS_VIDEO_WIDGET(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE((obj), EMPATHY_TYPE_VIDEO_WIDGET))
+#define EMPATHY_IS_VIDEO_WIDGET_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_TYPE((klass), EMPATHY_TYPE_VIDEO_WIDGET))
#define EMPATHY_VIDEO_WIDGET_GET_CLASS(obj) \
- (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_GST_GTK_WIDGET, \
+ (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_VIDEO_WIDGET, \
EmpathyVideoWidgetClass))
GtkWidget *empathy_video_widget_new (GstBus *bus);