aboutsummaryrefslogtreecommitdiff
path: root/src/im-menu-item.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-01-21 14:15:13 -0600
committerTed Gould <ted@canonical.com>2009-01-21 14:15:13 -0600
commit78320a436b60ba42a717640205a890d3ed90a960 (patch)
treeefbf6a95204cb9f4dec087b965157a93b7189c5f /src/im-menu-item.c
parent78c5736eca06ce2d4e03b6dff52c75ec883c4fa8 (diff)
downloadayatana-indicator-messages-78320a436b60ba42a717640205a890d3ed90a960.tar.gz
ayatana-indicator-messages-78320a436b60ba42a717640205a890d3ed90a960.tar.bz2
ayatana-indicator-messages-78320a436b60ba42a717640205a890d3ed90a960.zip
Get this to compile
Diffstat (limited to 'src/im-menu-item.c')
-rw-r--r--src/im-menu-item.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/im-menu-item.c b/src/im-menu-item.c
index 073e79b..c7895f5 100644
--- a/src/im-menu-item.c
+++ b/src/im-menu-item.c
@@ -2,6 +2,7 @@
#include "config.h"
#endif
+#include <gtk/gtk.h>
#include "im-menu-item.h"
typedef struct _ImMenuItemPrivate ImMenuItemPrivate;
@@ -9,7 +10,7 @@ typedef struct _ImMenuItemPrivate ImMenuItemPrivate;
struct _ImMenuItemPrivate
{
IndicateListener * listener;
- IndicateListenerSever * server;
+ IndicateListenerServer * server;
IndicateListenerIndicator * indicator;
GtkHBox * hbox;
@@ -73,18 +74,18 @@ im_menu_item_init (ImMenuItem *self)
priv->indicator = NULL;
/* build widgets first */
- priv->icon = gtk_image_new();
- priv->user = gtk_label_new("");
- priv->time = gtk_label_new("");
+ priv->icon = GTK_IMAGE(gtk_image_new());
+ priv->user = GTK_LABEL(gtk_label_new(""));
+ priv->time = GTK_LABEL(gtk_label_new(""));
if (icon_group == NULL) {
- icon_group = gtk_size_group_new(GTK_SIZE_GROUP_MODE_HORIZONTAL);
+ icon_group = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
}
if (user_group == NULL) {
- user_group = gtk_size_group_new(GTK_SIZE_GROUP_MODE_HORIZONTAL);
+ user_group = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
}
if (time_group == NULL) {
- time_group = gtk_size_group_new(GTK_SIZE_GROUP_MODE_HORIZONTAL);
+ time_group = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
}
gtk_size_group_add_widget(icon_group, priv->icon);
gtk_size_group_add_widget(user_group, priv->user);