diff options
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-video-widget.c | 4 | ||||
-rw-r--r-- | libempathy-gtk/empathy-video-widget.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-video-widget.c b/libempathy-gtk/empathy-video-widget.c index 4c7bee9db..7647b845f 100644 --- a/libempathy-gtk/empathy-video-widget.c +++ b/libempathy-gtk/empathy-video-widget.c @@ -263,14 +263,14 @@ empathy_video_widget_class_init ( param_spec = g_param_spec_int ("min-width", "min-width", "Minimal width of the widget", - 0, G_MAXINT, 320, + 0, G_MAXINT, EMPATHY_VIDEO_WIDGET_DEFAULT_WIDTH, G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); g_object_class_install_property (object_class, PROP_MIN_WIDTH, param_spec); param_spec = g_param_spec_int ("min-height", "min-height", "Minimal height of the widget", - 0, G_MAXINT, 240, + 0, G_MAXINT, EMPATHY_VIDEO_WIDGET_DEFAULT_HEIGHT, G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); g_object_class_install_property (object_class, PROP_MIN_HEIGHT, param_spec); diff --git a/libempathy-gtk/empathy-video-widget.h b/libempathy-gtk/empathy-video-widget.h index da17a6f47..cfdd0354c 100644 --- a/libempathy-gtk/empathy-video-widget.h +++ b/libempathy-gtk/empathy-video-widget.h @@ -21,6 +21,9 @@ #ifndef __EMPATHY_VIDEO_WIDGET_H__ #define __EMPATHY_VIDEO_WIDGET_H__ +#define EMPATHY_VIDEO_WIDGET_DEFAULT_WIDTH 320 +#define EMPATHY_VIDEO_WIDGET_DEFAULT_HEIGHT 240 + #include <glib-object.h> #include <gst/gst.h> #include <gtk/gtk.h> |