diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2014-02-04 16:57:57 -0500 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2014-02-04 16:58:54 -0500 |
commit | 63e887e165a308cfc5899123d9572ffc3b6da92a (patch) | |
tree | da5a3489443cde66aceeeb77a29e69004b6842c1 /gtk/gtkmenu.c | |
parent | 28376c26002cd7e9d353a9aadb880a54b7d3374d (diff) | |
download | gtk+-63e887e165a308cfc5899123d9572ffc3b6da92a.tar.gz |
docs: replace all <examples> with markdown headings
Diffstat (limited to 'gtk/gtkmenu.c')
-rw-r--r-- | gtk/gtkmenu.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c index 909e27d3ed..978b9dd729 100644 --- a/gtk/gtkmenu.c +++ b/gtk/gtkmenu.c @@ -43,17 +43,16 @@ * gtk_menu_popup() function. The example below shows how an application * can pop up a menu when the 3rd mouse button is pressed. * - * <example> - * <title>Connecting the popup signal handler.</title> + * ## Connecting the popup signal handler. + * * |[<!-- language="C" --> * /<!---->* connect our handler which will popup the menu *<!---->/ * g_signal_connect_swapped (window, "button_press_event", * G_CALLBACK (my_popup_handler), menu); * ]| - * </example> * - * <example> - * <title>Signal handler which displays a popup menu.</title> + * ## Signal handler which displays a popup menu. + * * |[<!-- language="C" --> * static gint * my_popup_handler (GtkWidget *widget, GdkEvent *event) @@ -80,11 +79,10 @@ * return TRUE; * } * } - * + * * return FALSE; * } * ]| - * </example> */ #include "config.h" |