Add Makefile missed in last commit, minor style tweak for statusmenu

svn path=/trunk/; revision=184
This commit is contained in:
Colin Walters 2009-02-04 18:49:54 +00:00
parent b7a0a5e769
commit cd645af5ae
2 changed files with 36 additions and 2 deletions

34
src/Makefile-gdmuser.am Normal file
View File

@ -0,0 +1,34 @@
gdmuser_cflags = \
-I$(top_srcdir)/src \
-DPREFIX=\""$(prefix)"\" \
-DLIBDIR=\""$(libdir)"\" \
-DDATADIR=\""$(datadir)"\" \
-DG_DISABLE_DEPRECATED \
-DG_LOG_DOMAIN=\"GdmUser\" \
$(GDMUSER_CFLAGS) \
$(NULL)
# please, keep this sorted alphabetically
gdmuser_source_h = \
gdmuser/gdm-user.h \
gdmuser/gdm-user-private.h \
gdmuser/gdm-user-manager.h \
$(NULL)
# please, keep this sorted alphabetically
gdmuser_source_c = \
gdmuser/gdm-user.c \
gdmuser/gdm-user-manager.c \
$(NULL)
noinst_LTLIBRARIES += libgdmuser-1.0.la
libgdmuser_1_0_la_LIBADD = $(GDMUSER_LIBS)
libgdmuser_1_0_la_SOURCES = \
$(gdmuser_source_c) \
$(gdmuser_source_h) \
$(NULL)
libgdmuser_1_0_la_CPPFLAGS = $(gdmuser_cflags)
libgdmuser_1_0_la_LDFLAGS = $(LDADD)

View File

@ -448,8 +448,8 @@ menuitem_style_set_cb (GtkWidget *menuitem,
static void static void
on_deactivate (GtkMenuShell *menushell, gpointer user_data) on_deactivate (GtkMenuShell *menushell, gpointer user_data)
{ {
ShellStatusMenu *shell = SHELL_STATUS_MENU (user_data); ShellStatusMenu *status = SHELL_STATUS_MENU (user_data);
g_signal_emit (G_OBJECT (shell), shell_status_menu_signals[DEACTIVATED], 0); g_signal_emit (G_OBJECT (status), shell_status_menu_signals[DEACTIVATED], 0);
} }
static void static void